|
基于OSG3.2编译VPB0.9.12出现如下链接错误是为什么
------ Build started: Project: Applications vpbcache, Configuration: Debug Win32 ------
Build started 2014/10/8 22:03:40.
InitializeBuildStatus:
Touching "application_vpbcache.dir\Debug\Applications vpbcache.unsuccessfulbuild".
CustomBuild:
All outputs are up-to-date.
ClCompile:
All outputs are up-to-date.
ManifestResourceCompile:
All outputs are up-to-date.
Link:
Creating library D:/OSG/VPB/VS2010/bin/Debug/vpbcached.lib and object D:/OSG/VPB/VS2010/bin/Debug/vpbcached.exp
vpbcache.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall osgTerrain::TerrainTile::TerrainTile(void)" (__imp_??0TerrainTile@osgTerrain@@QAE@XZ) referenced in function _main
vpbcache.obj : error LNK2001: unresolved external symbol "public: virtual class osg::Object * __thiscall osgTerrain::TerrainTile::cloneType(void)const " (?cloneType@TerrainTile@osgTerrain@@UBEPAVObject@osg@@XZ)
vpbcache.obj : error LNK2001: unresolved external symbol "public: virtual class osg::Object * __thiscall osgTerrain::TerrainTile::clone(class osg::CopyOp const &)const " (?clone@TerrainTile@osgTerrain@@UBEPAVObject@osg@@ABVCopyOp@4@@Z)
vpbcache.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall osgTerrain::TerrainTile::isSameKindAs(class osg::Object const *)const " (?isSameKindAs@TerrainTile@osgTerrain@@UBE_NPBVObject@osg@@@Z)
vpbcache.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall osgTerrain::TerrainTile::libraryName(void)const " (?libraryName@TerrainTile@osgTerrain@@UBEPBDXZ)
vpbcache.obj : error LNK2001: unresolved external symbol "public: virtual char const * __thiscall osgTerrain::TerrainTile::className(void)const " (?className@TerrainTile@osgTerrain@@UBEPBDXZ)
vpbcache.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall osgTerrain::TerrainTile::releaseGLObjects(class osg::State *)const " (?releaseGLObjects@TerrainTile@osgTerrain@@UBEXPAVState@osg@@@Z)
vpbcache.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall osgTerrain::TerrainTile::accept(class osg::NodeVisitor &)" (?accept@TerrainTile@osgTerrain@@UAEXAAVNodeVisitor@osg@@@Z)
vpbcache.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall osgTerrain::TerrainTile::traverse(class osg::NodeVisitor &)" (?traverse@TerrainTile@osgTerrain@@UAEXAAVNodeVisitor@osg@@@Z)
vpbcache.obj : error LNK2001: unresolved external symbol "public: virtual class osg::BoundingSphereImpl<class osg::Vec3f> __thiscall osgTerrain::TerrainTile::computeBound(void)const " (?computeBound@TerrainTile@osgTerrain@@UBE?AV?$BoundingSphereImpl@VVec3f@osg@@@osg@@XZ)
vpbcache.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) protected: virtual __thiscall osgTerrain::TerrainTile::~TerrainTile(void)" (__imp_??1TerrainTile@osgTerrain@@MAE@XZ) referenced in function "protected: virtual void * __thiscall osgTerrain::TerrainTile::`scalar deleting destructor'(unsigned int)" (??_GTerrainTile@osgTerrain@@MAEPAXI@Z)
vpbcache.obj : error LNK2019: unresolved external symbol "__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) referenced in function "class osg::Node * __cdecl osgDB::readNodeFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?readNodeFile@osgDB@@YAPAVNode@osg@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
vpbcache.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class osgDB::Options * __thiscall osgDB::Registry::getOptions(void)" (__imp_?getOptions@Registry@osgDB@@QAEPAVOptions@2@XZ) referenced in function "class osg::Node * __cdecl osgDB::readNodeFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?readNodeFile@osgDB@@YAPAVNode@osg@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
vpbcache.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class osgDB::Registry * __cdecl osgDB::Registry::instance(bool)" (__imp_?instance@Registry@osgDB@@SAPAV12@_N@Z) referenced in function "class osg::Node * __cdecl osgDB::readNodeFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?readNodeFile@osgDB@@YAPAVNode@osg@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
D:\OSG\VPB\VS2010\bin\Debug\vpbcached.exe : fatal error LNK1120: 14 unresolved externals
Build FAILED.
Time Elapsed 00:00:00.34 |
|