The shipping DLLs are built against OpenNI. However, it's easy to
recompile them to support Kinect for Windows.
1. Go to %ICM_SDK%\Include and open A3DSkeletonSDKConfig.h
2. Comment out line 24. //#define INCLUDE_OPENNI_SDK 1
3. Uncomment line 26/ #define INCLUDE_K4W_SDK 1
4. Rebuild ActivateNative.dll and ActivateNET.dll using Activate.sln
or ActivateCore.sln.
5. Run UpdateActivateLibraries.bat in %ICM_SDK%\..\Samples\UnitySample
to copy the new DLLs in place.
Note that UpdateActivateLibraries.bat will copy the Shipping DLLs
built by vs2010. If you use vs2008 to build, you'll need to modify the
batch file by replacing all instances of "vs2010" with "vs2008".
dba
On Feb 15, 12:12 pm, "
ahmad2382...@yahoo.com" <
ahmad2382...@yahoo.com>
wrote: