我一直在玩使用Java的飞跃运动,这是很好..但后来我试图使用C + +,但我似乎无法使这工作。我正在使用Visual Studio 2012并正确设置库和include目录。 尽管如此,我总是最后与此错误:Leap Motion C++库不被识别?
1>Sample.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual __thiscall Leap::Interface::~Interface(void)" ([email protected]@@[email protected]) referenced in function "public: virtual __thiscall Leap::FingerList::~FingerList(void)" ([email protected]@@[email protected])
这只是其中一个错误,但我结束了50(这意味着LeapMotion是不承认任何功能,虽然可视化工具确实显示数据) 。
有人可以帮我吗?
谢谢!
我不知道跨越式的运动,但你也设置了addional项目settigns-> linker-> input下的依赖关系?设置库目录可能不够。 –
你解决了这个问题吗? Alexander是对的,您需要在项目设置 - > linker-> input下指定您正在使用的确切lib文件来抑制链接器错误。 –