我在編譯程式時出現下面錯誤,應該改哪里的設定
錯誤 1 error LNK2001: 無法決議的外部符號 "__declspec(dllimport) public: static class osgDB::Registry * __cdecl osgDB::Registry::instance(bool)" (__imp_?instance@Registry@osgDB@@SAPAV12@_N@Z) E:\OSG\buillOpenSceneGraph\niu\niu\niu.obj niu
錯誤 2 error LNK2001: 無法決議的外部符號 "__declspec(dllimport) class osg::Node * __cdecl osgDB::readNodeFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class osgDB::Options const *)" (__imp_?readNodeFile@osgDB@@YAPAVNode@osg@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBVOptions@1@@Z) E:\OSG\buillOpenSceneGraph\niu\niu\niu.obj niu
錯誤 3 error LNK2001: 無法決議的外部符號 "__declspec(dllimport) public: __thiscall osgViewer::Viewer::Viewer(void)" (__imp_??0Viewer@osgViewer@@QAE@XZ) E:\OSG\buillOpenSceneGraph\niu\niu\niu.obj niu
錯誤 4 error LNK2001: 無法決議的外部符號 "__declspec(dllimport) public: virtual void __thiscall osgViewer::Viewer::setSceneData(class osg::Node *)" (__imp_?setSceneData@Viewer@osgViewer@@UAEXPAVNode@osg@@@Z) E:\OSG\buillOpenSceneGraph\niu\niu\niu.obj niu
錯誤 5 error LNK2001: 無法決議的外部符號 "__declspec(dllimport) public: virtual int __thiscall osgViewer::Viewer::run(void)" (__imp_?run@Viewer@osgViewer@@UAEHXZ) E:\OSG\buillOpenSceneGraph\niu\niu\niu.obj niu
錯誤 6 error LNK2001: 無法決議的外部符號 "__declspec(dllimport) public: void __thiscall osgViewer::Viewer::`vbase destructor'(void)" (__imp_??_DViewer@osgViewer@@QAEXXZ) E:\OSG\buillOpenSceneGraph\niu\niu\niu.obj niu
錯誤 7 error LNK2001: 無法決議的外部符號 "__declspec(dllimport) public: class osgDB::Options * __thiscall osgDB::Registry::getOptions(void)" (__imp_?getOptions@Registry@osgDB@@QAEPAVOptions@2@XZ) E:\OSG\buillOpenSceneGraph\niu\niu\niu.obj niu
錯誤 8 error LNK1120: 7 個無法決議的外部命令 E:\OSG\buillOpenSceneGraph\niu\Release\niu.exe niu
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/78718.html
標籤:基礎類
