Leap Motion C++库未被识别
Leap Motion C++ Libraries not being recognized?
我一直在用Java玩跳跃动作,它很好。。但后来我尝试使用C++,但似乎无法实现。我使用的是Visual Studio 2012,并正确设置了库和include目录。尽管如此,我总是会出现这样的错误:
1>Sample.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual __thiscall Leap::Interface::~Interface(void)" (__imp_??1Interface@Leap@@MAE@XZ) referenced in function "public: virtual __thiscall Leap::FingerList::~FingerList(void)" (??1FingerList@Leap@@UAE@XZ)
这只是其中一个错误,但我最终得到了50(这意味着LeapMotion没有识别任何功能,尽管可视化工具确实显示了数据)。
有人能帮我吗?
谢谢!
我遇到了同样的问题。我设置了库和include文件夹以及输入lib文件,但由于我设置了调试模式,所以一直出现错误(未解析的符号)。您必须在Win32或x64之间进行选择,并使用Leap SDK中提供的特定库。这解决了问题。虽然我的机器是64位的,但在Configuration Manager上,我有调试Win32,因为我也在使用Cinder,而不仅仅是Leap Motion设备。
对于其他遇到这个问题的人,这里有更多关于在Visual Studio中设置Leap Motion项目的文档:
https://developer.leapmotion.com/documentation/Languages/C++/Guides/Leap_C++_Development.html
相关文章:
- 提升 ASIO 无法识别计时器对象
- 从udp接收帧对于人脸识别来说太慢
- 模板类无法识别友元运算符
- std::visit无法识别类型
- 无法识别模板功能
- 我有两个类需要在同一 cpp 文件中相互引用,但第一个类无法识别第二个类类型的对象
- 如何在LLVM中dyn_cast以识别StoreInst?
- 从不同的附加依赖项中识别等同命名的函数
- C++出现控制台错误.我无法识别源代码的问题
- VSCode IntelliSense无法识别SDL框架的SDL_image扩展库
- Qt:"Q3DScatter"即使包含在内也无法识别
- 使用指针的类识别
- 如何静态识别动态堆分配?
- 为什么C++无法识别我的对象实例化?
- C++ 无法识别创建进程'telnet'
- 识别 2D 矢量C++中的位置
- 如何识别项目是 QT 中的文件还是文件夹
- ESP32 无法识别任何设备已连接到其接入点
- 无法识别 Mac c++ 文件系统库
- Leap Motion C++库未被识别