在VS上创建一个leapmotion的c++程序
来源:互联网 发布:网络交友诈骗案例 编辑:程序博客网 时间:2024/05/16 05:40
你可以把这篇文章作为你开始leapmotion开发的起点。如果你创建64位的应用,使用lib\x64,32位应用使用lib\x86.
- Open or create a new project of the desired type.
- Make a LEAP_SDK system environment variable to point to your Leap Motion SDK folder. This step is optional, but does simplify creating references to the SDK files in your projects. (As a reminder, you can create and change system environment variables from the Windows System Properties dialog.)
- Open the Project Property Pages using the Project > Properties menu command.
- Set up a Debug configuration:
- Choose the Debug configuration.
- Add the SDK include directory to your project:
Under Configuration Properties, select C/C++ > General.
In the properties pane, add the SDK include directory to the Additional Include Directoriesfield by adding:
(whereLEAP_SDK
is the name of the environment variable you created earlier. You can substitute the appropriate file path if you do not want to use an environment variable.)
- Add references to the Leap Motion libraries:
Under Configuration Properties, select Linker > General.
In the properties pane, add the SDK
lib\x86
directory (orlib\x64
for 64-bit configurations) to the Additional Library Directories field by adding:Select Linker > Input
Add
Leap.lib
to the Additional Dependencies field.
- Add a Post-Build Event to copy the Leap Motion libraries to the project’s target executable directory.
Under Configuration Properties, select Build Events > Post-Build Event.
Edit the Command Line field to copy the libraries, adding:
- Set up a Release configuration:
- Choose the Release configuration.
- Repeat the setps above.
- Add your source code...
0 0
- 在VS上创建一个leapmotion的c++程序
- leapMotion项目创建(C#)
- 如何在Visual Studio2010上创建一个 C语言程序?!
- Leapmotion的一个错误
- 在VS2008上创建一个安装程序
- 使用VS GDB扩充套件在VS上远端侦错Linux上的C/C++程序
- 编译一个可以运行在openwrt上的c程序
- 编译一个可以运行在openwrt上的c程序
- 编译一个可以运行在openwrt上的c程序
- 编译一个可以运行在openwrt上的c程序
- Hello World--------------LeapMotion API新建一个程序
- 使用VS创建C程序
- Oracle VS MySQL 在创建数据库上的异同
- 安卓程序:在SD卡上创建一个…
- 初学linux,在Linux上创建c程序并运行!
- [C++]限制一个类的对象只能在栈或堆上创建
- 在AIX机器上的C程序
- 在GT2440开发板上运行一个简单的c程序
- Fedora Notes
- VBS 发邮件
- 对数基础知识
- YTU 2723: 默认参数--求圆的面积
- 有关ListView的种种~~
- 在VS上创建一个leapmotion的c++程序
- 51nod 1381 硬币游戏
- git(二)
- ios9系统图片显示不出来
- 微信好友检测
- [BZOJ1131] [POI2008]Sta
- YTU 2732:3798-Abs Problem
- Android 实现夜间模式
- Thinking in Java---再谈线程通信