zc_dirk 2014-11-29 08:53 采纳率: 0%
浏览 2259

关于leapmotion和opengl工程缺少lib文件的问题

我从网上看到了一个关于LeapMotion钢琴演奏的工程,拿到自己电脑上就无法运行了,显示如下错误,哪位大神能不能帮我是缺少哪个lib文件了?

1>CPianoMelody.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) protected: virtual thiscall Leap::Interface::~Interface(void)" (imp_??1Interface@Leap@@MAE@XZ),该符号在函数 "public: virtual thiscall Leap::FingerList::~FingerList(void)" (??1FingerList@Leap@@UAE@XZ) 中被引用
1>LeapSample.obj : error LNK2001: 无法解析的外部符号 "
declspec(dllimport) protected: virtual thiscall Leap::Interface::~Interface(void)" (imp_??1Interface@Leap@@MAE@XZ)
1>CPianoMelody.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: struct Leap::Vector thiscall Leap::Pointable::tipPosition(void)const " (imp_?tipPosition@Pointable@Leap@@QBE?AUVector@2@XZ),该符号在函数 "public: bool thiscall CPianoMelody::OccurGesture(class Leap::KeyTapGesture const &)" (?OccurGesture@CPianoMelody@@QAE_NABVKeyTapGesture@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2001: 无法解析的外部符号 "
declspec(dllimport) public: struct Leap::Vector thiscall Leap::Pointable::tipPosition(void)const " (imp_?tipPosition@Pointable@Leap@@QBE?AUVector@2@XZ)
1>CPianoMelody.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: struct Leap::Vector thiscall Leap::Pointable::tipVelocity(void)const " (imp_?tipVelocity@Pointable@Leap@@QBE?AUVector@2@XZ),该符号在函数 "public: bool thiscall CPianoMelody::OccurGesture(class Leap::KeyTapGesture const &)" (?OccurGesture@CPianoMelody@@QAE_NABVKeyTapGesture@Leap@@@Z) 中被引用
1>CPianoMelody.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: class Leap::Pointable thiscall Leap::KeyTapGesture::pointable(void)const " (imp_?pointable@KeyTapGesture@Leap@@QBE?AVPointable@2@XZ),该符号在函数 "public: bool thiscall CPianoMelody::OccurGesture(class Leap::KeyTapGesture const &)" (?OccurGesture@CPianoMelody@@QAE_NABVKeyTapGesture@Leap@@@Z) 中被引用
1>CPianoMelody.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: thiscall Leap::FingerList::FingerList(void)" (imp_??0FingerList@Leap@@QAE@XZ),该符号在函数 "public: thiscall CPianoMelody::CPianoMelody(void)" (??0CPianoMelody@@QAE@XZ) 中被引用
1>CPianoMelody.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: class Leap::FingerList thiscall Leap::Frame::fingers(void)const " (imp_?fingers@Frame@Leap@@QBE?AVFingerList@2@XZ),该符号在函数 "public: bool thiscall CPianoMelody::UpdateData(class Leap::Frame const &)" (?UpdateData@CPianoMelody@@QAE_NABVFrame@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2001: 无法解析的外部符号 "
declspec(dllimport) public: class Leap::FingerList thiscall Leap::Frame::fingers(void)const " (imp_?fingers@Frame@Leap@@QBE?AVFingerList@2@XZ)
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class Leap::Hand thiscall Leap::Pointable::hand(void)const " (imp_?hand@Pointable@Leap@@QBE?AVHand@2@XZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: struct Leap::Vector thiscall Leap::Hand::palmPosition(void)const " (imp_?palmPosition@Hand@Leap@@QBE?AUVector@2@XZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: enum Leap::Gesture::Type thiscall Leap::Gesture::type(void)const " (imp_?type@Gesture@Leap@@QBE?AW4Type@12@XZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: enum Leap::Gesture::State thiscall Leap::Gesture::state(void)const " (imp_?state@Gesture@Leap@@QBE?AW4State@12@XZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: int thiscall Leap::Gesture::id(void)const " (imp_?id@Gesture@Leap@@QBEHXZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: thiscall Leap::SwipeGesture::SwipeGesture(class Leap::Gesture const &)" (imp_??0SwipeGesture@Leap@@QAE@ABVGesture@1@@Z),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: struct Leap::Vector thiscall Leap::SwipeGesture::direction(void)const " (imp_?direction@SwipeGesture@Leap@@QBE?AUVector@2@XZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: float thiscall Leap::SwipeGesture::speed(void)const " (imp_?speed@SwipeGesture@Leap@@QBEMXZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: thiscall Leap::ScreenTapGesture::ScreenTapGesture(class Leap::Gesture const &)" (imp_??0ScreenTapGesture@Leap@@QAE@ABVGesture@1@@Z),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: struct Leap::Vector thiscall Leap::ScreenTapGesture::position(void)const " (imp_?position@ScreenTapGesture@Leap@@QBE?AUVector@2@XZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: struct Leap::Vector thiscall Leap::ScreenTapGesture::direction(void)const " (imp_?direction@ScreenTapGesture@Leap@@QBE?AUVector@2@XZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: thiscall Leap::KeyTapGesture::KeyTapGesture(class Leap::Gesture const &)" (imp_??0KeyTapGesture@Leap@@QAE@ABVGesture@1@@Z),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: int thiscall Leap::FingerList::count(void)const " (imp_?count@FingerList@Leap@@QBEHXZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: class Leap::Finger thiscall Leap::FingerList::operatorconst " (imp_??AFingerList@Leap@@QBE?AVFinger@1@H@Z),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: bool thiscall Leap::HandList::isEmpty(void)const " (imp_?isEmpty@HandList@Leap@@QBE_NXZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: int thiscall Leap::GestureList::count(void)const " (imp_?count@GestureList@Leap@@QBEHXZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: bool thiscall Leap::GestureList::isEmpty(void)const " (imp_?isEmpty@GestureList@Leap@@QBE_NXZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: class Leap::Gesture thiscall Leap::GestureList::operatorconst " (imp_??AGestureList@Leap@@QBE?AVGesture@1@H@Z),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: class Leap::HandList thiscall Leap::Frame::hands(void)const " (imp_?hands@Frame@Leap@@QBE?AVHandList@2@XZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: class Leap::GestureList thiscall Leap::Frame::gestures(void)const " (imp_?gestures@Frame@Leap@@QBE?AVGestureList@2@XZ),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
declspec(dllimport) public: thiscall Leap::Controller::Controller(void)" (imp_??0Controller@Leap@@QAE@XZ),该符号在函数 main 中被引用
1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
_declspec(dllimport) public: virtual thiscall Leap::Controller::~Controller(void)" (imp_??1Controller@Leap@@UAE@XZ),该符号在函数 _main 中被引用

  • 写回答

2条回答

  • zc_dirk 2014-11-29 08:54
    关注

    还有一段...

    1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: bool thiscall Leap::Controller::addListener(class Leap::Listener &)" (imp_?addListener@Controller@Leap@@QAE_NAAVListener@2@@Z),该符号在函数 main 中被引用
    1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
    _declspec(dllimport) public: bool thiscall Leap::Controller::removeListener(class Leap::Listener &)" (imp_?removeListener@Controller@Leap@@QAE_NAAVListener@2@@Z),该符号在函数 main 中被引用
    1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
    _declspec(dllimport) public: class Leap::Frame thiscall Leap::Controller::frame(int)const " (imp_?frame@Controller@Leap@@QBE?AVFrame@2@H@Z),该符号在函数 "public: virtual void thiscall PianoListener::onFrame(class Leap::Controller const &)" (?onFrame@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
    1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
    declspec(dllimport) public: void thiscall Leap::Controller::enableGesture(enum Leap::Gesture::Type,bool)const " (imp_?enableGesture@Controller@Leap@@QBEXW4Type@Gesture@2@_N@Z),该符号在函数 "public: virtual void thiscall PianoListener::onConnect(class Leap::Controller const &)" (?onConnect@PianoListener@@UAEXABVController@Leap@@@Z) 中被引用
    1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
    declspec(dllimport) public: thiscall Leap::Listener::Listener(void)" (imp_??0Listener@Leap@@QAE@XZ),该符号在函数 "public: thiscall PianoListener::PianoListener(void)" (??0PianoListener@@QAE@XZ) 中被引用
    1>LeapSample.obj : error LNK2019: 无法解析的外部符号 "
    declspec(dllimport) public: virtual thiscall Leap::Listener::~Listener(void)" (imp_??1Listener@Leap@@UAE@XZ),该符号在函数 "public: virtual __thiscall PianoListener::~PianoListener(void)" (??1PianoListener@@UAE@XZ) 中被引用
    1>LeapSample.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall Leap::Listener::onDeviceChange(class Leap::Controller const &)" (?onDeviceChange@Listener@Leap@@UAEXABVController@2@@Z)
    1>LeapSample.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall Leap::Listener::onServiceConnect(class Leap::Controller const &)" (?onServiceConnect@Listener@Leap@@UAEXABVController@2@@Z)
    1>LeapSample.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall Leap::Listener::onServiceDisconnect(class Leap::Controller const &)" (?onServiceDisconnect@Listener@Leap@@UAEXABVController@2@@Z)

    评论

报告相同问题?

悬赏问题

  • ¥15 乘性高斯噪声在深度学习网络中的应用
  • ¥15 运筹学排序问题中的在线排序
  • ¥15 关于docker部署flink集成hadoop的yarn,请教个问题 flink启动yarn-session.sh连不上hadoop,这个整了好几天一直不行,求帮忙看一下怎么解决
  • ¥30 求一段fortran代码用IVF编译运行的结果
  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥30 python代码,帮调试,帮帮忙吧