简体   繁体   中英

How to create a path for CL NUI to Visual Studio 2010?

I have installed CL NUI and I have run the program. It works perfectly. But now I would like to use CL NUI in one of my projects. I am using Visual Studio 2010, but I am unsure on how to create a path so that the project can detect CL NUI library. I tried finding examples but mostly it is about openni and opencv. If anyone can guide me, I would be very grateful.

From the CL NUI Platform page :

You can find this example project in “C:\\Program Files\\Code Laboratories\\CL NUI Platform\\SDK\\Samples”

Requirements to Run:

  • Microsoft .NET 3.5 SP1 Redistributable

  • Requirements to Compile:

    • Visual Studio 2010 - Student Version or Professional
  • Or review the C API here…

And the last link gives an overview of the SDK

Edit: Update to comments:

I've downloaded and installed the platform installer and it includes a C dll + h files + .lib files.

C:\Program Files (x86)\Code Laboratories\CL NUI Platform\SDK\Bin
C:\Program Files (x86)\Code Laboratories\CL NUI Platform\SDK\Include
C:\Program Files (x86)\Code Laboratories\CL NUI Platform\SDK\Lib
C:\Program Files (x86)\Code Laboratories\CL NUI Platform\SDK\Samples
C:\Program Files (x86)\Code Laboratories\CL NUI Platform\SDK\Bin\CLNUIDevice.dll
C:\Program Files (x86)\Code Laboratories\CL NUI Platform\SDK\Include\CLNUIDevice.h
C:\Program Files (x86)\Code Laboratories\CL NUI Platform\SDK\Lib\CLNUIDevice.lib

I would just use Visual Studio to Create an unmanaged C++ project and then include these items.

There are lots of samples of projects on the code.microsoft.com

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM