hi

i have solved the first cmake problem by downloading osg 2.8.2,
building osgversion and putting it's directory in the path


now i have a second linking problem when building vpb.dll 


> 
> 1>   Creating library C:\delta3d\vpb09.10\Build\lib\Release\vpb.lib and 
> object C:\delta3d\vpb09.10\Build\lib\Release\vpb.exp
> 1>DataSet.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: class osgDB::FileList * __thiscall 
> osgDB::DatabaseRevision::getFilesAdded(void)" 
> (__imp_?getfilesad...@databaserevision@osgDB@@qaepavfilel...@2@XZ) referenced 
> in function "public: void __thiscall vpb::DataSet::_writeNodeFile(class 
> osg::Node &,class std::basic_string<char,struct std::char_traits<char>,class 
> std::allocator<char> > const &)" 
> (?_writenodef...@dataset@vpb@@qaexaavn...@osg@@abv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol 
> "__declspec(dllimport) public: class osgDB::FileList * __thiscall 
> osgDB::DatabaseRevision::getFilesAdded(void)" 
> (__imp_?getfilesad...@databaserevision@osgDB@@qaepavfilel...@2@XZ)
> 1>DataSet.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: void __thiscall osgDB::FileList::addFile(class 
> std::basic_string<char,struct std::char_traits<char>,class 
> std::allocator<char> > const &)" 
> (__imp_?addf...@filelist@osgDB@@qaexabv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z)
>  referenced in function "public: void __thiscall 
> vpb::DataSet::_writeNodeFile(class osg::Node &,class 
> std::basic_string<char,struct std::char_traits<char>,class 
> std::allocator<char> > const &)" 
> (?_writenodef...@dataset@vpb@@qaexaavn...@osg@@abv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z)
> 1>DataSet.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: class osgDB::FileList * __thiscall 
> osgDB::DatabaseRevision::getFilesModified(void)" 
> (__imp_?getfilesmodif...@databaserevision@osgDB@@qaepavfilel...@2@XZ) 
> referenced in function "public: void __thiscall 
> vpb::DataSet::_writeNodeFile(class osg::Node &,class 
> std::basic_string<char,struct std::char_traits<char>,class 
> std::allocator<char> > const &)" 
> (?_writenodef...@dataset@vpb@@qaexaavn...@osg@@abv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol 
> "__declspec(dllimport) public: class osgDB::FileList * __thiscall 
> osgDB::DatabaseRevision::getFilesModified(void)" 
> (__imp_?getfilesmodif...@databaserevision@osgDB@@qaepavfilel...@2@XZ)
> 1>DataSet.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: bool __thiscall 
> osgDB::FileList::empty(void)const " (__imp_?em...@filelist@osgDB@@QBE_NXZ) 
> referenced in function "public: int __thiscall vpb::DataSet::run(void)" 
> (?...@dataset@vpb@@QAEHXZ)
> 1>DataSet.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: void __thiscall 
> osgDB::DatabaseRevision::setFilesModified(class osgDB::FileList *)" 
> (__imp_?setfilesmodif...@databaserevision@osgDB@@qaexpavfilel...@2@@Z) 
> referenced in function "public: int __thiscall vpb::DataSet::run(void)" 
> (?...@dataset@vpb@@QAEHXZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol 
> "__declspec(dllimport) public: void __thiscall 
> osgDB::DatabaseRevision::setFilesModified(class osgDB::FileList *)" 
> (__imp_?setfilesmodif...@databaserevision@osgDB@@qaexpavfilel...@2@@Z)
> 1>DataSet.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: class osgDB::FileList * __thiscall 
> osgDB::DatabaseRevision::getFilesRemoved(void)" 
> (__imp_?getfilesremo...@databaserevision@osgDB@@qaepavfilel...@2@XZ) 
> referenced in function "public: int __thiscall vpb::DataSet::run(void)" 
> (?...@dataset@vpb@@QAEHXZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol 
> "__declspec(dllimport) public: class osgDB::FileList * __thiscall 
> osgDB::DatabaseRevision::getFilesRemoved(void)" 
> (__imp_?getfilesremo...@databaserevision@osgDB@@qaepavfilel...@2@XZ)
> 1>DataSet.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: void __thiscall 
> osgDB::DatabaseRevision::setFilesRemoved(class osgDB::FileList *)" 
> (__imp_?setfilesremo...@databaserevision@osgDB@@qaexpavfilel...@2@@Z) 
> referenced in function "public: int __thiscall vpb::DataSet::run(void)" 
> (?...@dataset@vpb@@QAEHXZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol 
> "__declspec(dllimport) public: void __thiscall 
> osgDB::DatabaseRevision::setFilesRemoved(class osgDB::FileList *)" 
> (__imp_?setfilesremo...@databaserevision@osgDB@@qaexpavfilel...@2@@Z)
> 1>DataSet.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: void __thiscall 
> osgDB::DatabaseRevision::setFilesAdded(class osgDB::FileList *)" 
> (__imp_?setfilesad...@databaserevision@osgDB@@qaexpavfilel...@2@@Z) 
> referenced in function "public: int __thiscall vpb::DataSet::run(void)" 
> (?...@dataset@vpb@@QAEHXZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol 
> "__declspec(dllimport) public: void __thiscall 
> osgDB::DatabaseRevision::setFilesAdded(class osgDB::FileList *)" 
> (__imp_?setfilesad...@databaserevision@osgDB@@qaexpavfilel...@2@@Z)
> 1>DataSet.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: __thiscall osgDB::FileList::FileList(void)" 
> (__imp_??0filel...@osgdb@@q...@xz) referenced in function "public: int 
> __thiscall vpb::DataSet::run(void)" (?...@dataset@vpb@@QAEHXZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol 
> "__declspec(dllimport) public: __thiscall osgDB::FileList::FileList(void)" 
> (__imp_??0filel...@osgdb@@q...@xz)
> 1>DataSet.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: __thiscall 
> osgDB::DatabaseRevision::DatabaseRevision(void)" 
> (__imp_??0databaserevis...@osgdb@@q...@xz) referenced in function "public: 
> int __thiscall vpb::DataSet::run(void)" (?...@dataset@vpb@@QAEHXZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol 
> "__declspec(dllimport) public: __thiscall 
> osgDB::DatabaseRevision::DatabaseRevision(void)" 
> (__imp_??0databaserevis...@osgdb@@q...@xz)
> 1>DataSet.obj : error LNK2001: unresolved external symbol "public: virtual 
> class osg::Object * __thiscall osgDB::DatabaseRevision::cloneType(void)const 
> " (?clonet...@databaserevision@osgDB@@ubepavobj...@osg@@XZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual class osg::Object * __thiscall 
> osgDB::DatabaseRevision::cloneType(void)const " 
> (?clonet...@databaserevision@osgDB@@ubepavobj...@osg@@XZ)
> 1>DataSet.obj : error LNK2001: unresolved external symbol "public: virtual 
> class osg::Object * __thiscall osgDB::DatabaseRevision::clone(class 
> osg::CopyOp const &)const " 
> (?cl...@databaserevision@osgDB@@ubepavobj...@osg@@abvcop...@4@@Z)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual class osg::Object * __thiscall osgDB::DatabaseRevision::clone(class 
> osg::CopyOp const &)const " 
> (?cl...@databaserevision@osgDB@@ubepavobj...@osg@@abvcop...@4@@Z)
> 1>DataSet.obj : error LNK2001: unresolved external symbol "public: virtual 
> bool __thiscall osgDB::DatabaseRevision::isSameKindAs(class osg::Object const 
> *)const " (?issamekin...@databaserevision@osgDB@@ube_npbvobj...@osg@@@Z)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual bool __thiscall osgDB::DatabaseRevision::isSameKindAs(class 
> osg::Object const *)const " 
> (?issamekin...@databaserevision@osgDB@@ube_npbvobj...@osg@@@Z)
> 1>DataSet.obj : error LNK2001: unresolved external symbol "public: virtual 
> char const * __thiscall osgDB::DatabaseRevision::libraryName(void)const " 
> (?libraryn...@databaserevision@osgDB@@UBEPBDXZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual char const * __thiscall 
> osgDB::DatabaseRevision::libraryName(void)const " 
> (?libraryn...@databaserevision@osgDB@@UBEPBDXZ)
> 1>DataSet.obj : error LNK2001: unresolved external symbol "public: virtual 
> char const * __thiscall osgDB::DatabaseRevision::className(void)const " 
> (?classn...@databaserevision@osgDB@@UBEPBDXZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual char const * __thiscall osgDB::DatabaseRevision::className(void)const 
> " (?classn...@databaserevision@osgDB@@UBEPBDXZ)
> 1>DataSet.obj : error LNK2001: unresolved external symbol "public: virtual 
> class osg::Object * __thiscall osgDB::FileList::cloneType(void)const " 
> (?clonet...@filelist@osgDB@@ubepavobj...@osg@@XZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual class osg::Object * __thiscall osgDB::FileList::cloneType(void)const 
> " (?clonet...@filelist@osgDB@@ubepavobj...@osg@@XZ)
> 1>DataSet.obj : error LNK2001: unresolved external symbol "public: virtual 
> class osg::Object * __thiscall osgDB::FileList::clone(class osg::CopyOp const 
> &)const " (?cl...@filelist@osgDB@@ubepavobj...@osg@@abvcop...@4@@Z)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual class osg::Object * __thiscall osgDB::FileList::clone(class 
> osg::CopyOp const &)const " 
> (?cl...@filelist@osgDB@@ubepavobj...@osg@@abvcop...@4@@Z)
> 1>DataSet.obj : error LNK2001: unresolved external symbol "public: virtual 
> bool __thiscall osgDB::FileList::isSameKindAs(class osg::Object const *)const 
> " (?issamekin...@filelist@osgDB@@ube_npbvobj...@osg@@@Z)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual bool __thiscall osgDB::FileList::isSameKindAs(class osg::Object const 
> *)const " (?issamekin...@filelist@osgDB@@ube_npbvobj...@osg@@@Z)
> 1>DataSet.obj : error LNK2001: unresolved external symbol "public: virtual 
> char const * __thiscall osgDB::FileList::libraryName(void)const " 
> (?libraryn...@filelist@osgDB@@UBEPBDXZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual char const * __thiscall osgDB::FileList::libraryName(void)const " 
> (?libraryn...@filelist@osgDB@@UBEPBDXZ)
> 1>DataSet.obj : error LNK2001: unresolved external symbol "public: virtual 
> char const * __thiscall osgDB::FileList::className(void)const " 
> (?classn...@filelist@osgDB@@UBEPBDXZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual char const * __thiscall osgDB::FileList::className(void)const " 
> (?classn...@filelist@osgDB@@UBEPBDXZ)
> 1>DataSet.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) protected: virtual __thiscall 
> osgDB::FileList::~FileList(void)" (__imp_??1filel...@osgdb@@m...@xz) 
> referenced in function "protected: virtual void * __thiscall 
> osgDB::FileList::`scalar deleting destructor'(unsigned int)" 
> (??_gfilel...@osgdb@@maep...@z)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol 
> "__declspec(dllimport) protected: virtual __thiscall 
> osgDB::FileList::~FileList(void)" (__imp_??1filel...@osgdb@@m...@xz)
> 1>DataSet.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) protected: virtual __thiscall 
> osgDB::DatabaseRevision::~DatabaseRevision(void)" 
> (__imp_??1databaserevis...@osgdb@@m...@xz) referenced in function "protected: 
> virtual void * __thiscall osgDB::DatabaseRevision::`scalar deleting 
> destructor'(unsigned int)" (??_gdatabaserevis...@osgdb@@maep...@z)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol 
> "__declspec(dllimport) protected: virtual __thiscall 
> osgDB::DatabaseRevision::~DatabaseRevision(void)" 
> (__imp_??1databaserevis...@osgdb@@m...@xz)
> 1>TaskManager.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: __thiscall 
> osgDB::DatabaseRevisions::DatabaseRevisions(void)" 
> (__imp_??0databaserevisi...@osgdb@@q...@xz) referenced in function "public: 
> bool __thiscall vpb::TaskManager::run(void)" (?...@taskmanager@vpb@@QAE_NXZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual class osg::Object * __thiscall 
> osgDB::DatabaseRevisions::cloneType(void)const " 
> (?clonet...@databaserevisions@osgDB@@ubepavobj...@osg@@XZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual class osg::Object * __thiscall osgDB::DatabaseRevisions::clone(class 
> osg::CopyOp const &)const " 
> (?cl...@databaserevisions@osgDB@@ubepavobj...@osg@@abvcop...@4@@Z)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual bool __thiscall osgDB::DatabaseRevisions::isSameKindAs(class 
> osg::Object const *)const " 
> (?issamekin...@databaserevisions@osgDB@@ube_npbvobj...@osg@@@Z)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual char const * __thiscall 
> osgDB::DatabaseRevisions::libraryName(void)const " 
> (?libraryn...@databaserevisions@osgDB@@UBEPBDXZ)
> 1>TaskManager.obj : error LNK2001: unresolved external symbol "public: 
> virtual char const * __thiscall 
> osgDB::DatabaseRevisions::className(void)const " 
> (?classn...@databaserevisions@osgDB@@UBEPBDXZ)
> 1>TaskManager.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) protected: virtual __thiscall 
> osgDB::DatabaseRevisions::~DatabaseRevisions(void)" 
> (__imp_??1databaserevisi...@osgdb@@m...@xz) referenced in function 
> "protected: virtual void * __thiscall osgDB::DatabaseRevisions::`scalar 
> deleting destructor'(unsigned int)" (??_gdatabaserevisi...@osgdb@@maep...@z)
> 1>TaskManager.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: void __thiscall osgDB::FileList::append(class 
> osgDB::FileList *)" (__imp_?app...@filelist@osgDB@@QAEXPAV12@@Z) referenced 
> in function "public: void __thiscall 
> vpb::TaskManager::addRevisionFileList(class std::basic_string<char,struct 
> std::char_traits<char>,class std::allocator<char> > const &)" 
> (?addrevisionfilel...@taskmanager@vpb@@qaexabv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z)
> 1>TaskManager.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: void __thiscall 
> osgDB::DatabaseRevisions::addRevision(class osgDB::DatabaseRevision *)" 
> (__imp_?addrevis...@databaserevisions@osgDB@@qaexpavdatabaserevis...@2@@Z) 
> referenced in function "public: void __thiscall 
> vpb::TaskManager::addRevisionFileList(class std::basic_string<char,struct 
> std::char_traits<char>,class std::allocator<char> > const &)" 
> (?addrevisionfilel...@taskmanager@vpb@@qaexabv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z)
> 1>TaskManager.obj : error LNK2019: unresolved external symbol 
> "__declspec(dllimport) public: void __thiscall 
> osgDB::DatabaseRevision::setDatabasePath(class std::basic_string<char,struct 
> std::char_traits<char>,class std::allocator<char> > const &)" 
> (__imp_?setdatabasep...@databaserevision@osgDB@@qaexabv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z)
>  referenced in function "public: void __thiscall 
> vpb::TaskManager::addRevisionFileList(class std::basic_string<char,struct 
> std::char_traits<char>,class std::allocator<char> > const &)" 
> (?addrevisionfilel...@taskmanager@vpb@@qaexabv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z)
> 1>C:\delta3d\vpb09.10\Build\lib\Release\vpb.dll : fatal error LNK1120: 32 
> unresolved externals
> 1>Build log was saved at 
> "file://c:\delta3d\vpb09.10\Build\src\vpb\vpb.dir\Release\BuildLog.htm"
> 1>vpb - 53 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
> 
> 


i have checked all the include and libs directories it match the osg2.8.2 
version

any idea ?


good day to all

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=26439#26439





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to