|
本帖最后由 kangsite 于 2012-9-27 10:29 编辑
我在编译0sg3.0.1时出现一些问题,请问各位如何解决
1>------ 已启动生成: 项目: Examples osgstaticviewer, 配置: Debug Win32 ------
1>正在执行预链接事件...
1>正在链接...
1> 正在创建库 E:\OSG\OpenSceneGraph-3.0.1\build\lib\osgstaticviewerd.lib 和对象 E:\OSG\OpenSceneGraph-3.0.1\build\lib\osgstaticviewerd.exp
1>osg80-osgUtild.lib(CullVisitor.obj) : warning LNK4049: 已导入本地定义的符号 ??0Mutex@OpenThreads@@QAE@W4MutexType@01@@Z (public: __thiscall OpenThreads::Mutex::Mutex(enum OpenThreads::Mutex::MutexType))
1>osg80-osgGAd.lib(EventQueue.obj) : warning LNK4049: 已导入本地定义的符号 ??0Mutex@OpenThreads@@QAE@W4MutexType@01@@Z (public: __thiscall OpenThreads::Mutex::Mutex(enum OpenThreads::Mutex::MutexType))
1>osg80-osgd.lib(Referenced.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: unsigned int __thiscall OpenThreads::Atomic:perator++(void)" (__imp_??EAtomic@OpenThreads@@QAEIXZ)
1>osg80-osgd.lib(StateSet.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: unsigned int __thiscall OpenThreads::Atomic::operator++(void)" (__imp_??EAtomic@OpenThreads@@QAEIXZ)
1>osg80-osgd.lib(UserDataContainer.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: unsigned int __thiscall OpenThreads::Atomic::operator++(void)" (__imp_??EAtomic@OpenThreads@@QAEIXZ)
1>osgstaticviewer.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: unsigned int __thiscall OpenThreads::Atomic::operator++(void)" (__imp_??EAtomic@OpenThreads@@QAEIXZ)
1>osg80-osgd.lib(ArgumentParser.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: unsigned int __thiscall OpenThreads::Atomic::operator++(void)" (__imp_??EAtomic@OpenThreads@@QAEIXZ)
1>osg80-osgd.lib(Node.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: unsigned int __thiscall OpenThreads::Atomic::operator++(void)" (__imp_??EAtomic@OpenThreads@@QAEIXZ)
1>osg80-osgd.lib(ApplicationUsage.obj) : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: unsigned int __thiscall OpenThreads::Atomic::operator++(void)" (__imp_??EAtomic@OpenThreads@@QAEIXZ)
1>osg80-osgd.lib(Referenced.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall OpenThreads::AtomicPtr::~AtomicPtr(void)" (__imp_??1AtomicPtr@OpenThreads@@QAE@XZ),该符号在函数 "protected: virtual __thiscall osg::Referenced::~Referenced(void)" (??1Referenced@osg@@MAE@XZ) 中被引用
1>osg80-osgd.lib(Referenced.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall
1>osg80-osgDBd.lib(DatabasePager.obj) : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: unsigned int __thiscall OpenThreads::Atomic::exchange(unsigned int)" (__imp_?exchange@Atomic@OpenThreads@@QAEII@Z),该符号在函数 "public: __thiscall osgDB:atabasePager::DatabasePager(void)" (??0DatabasePager@osgDB@@QAE@XZ) 中被引用
1>E:\OSG\OpenSceneGraph-3.0.1\build\bin\osgstaticviewerd.exe : fatal error LNK1120: 9 个无法解析的外部命令
1>生成日志保存在“file://e:\OSG\OpenSceneGraph-3.0.1\build\examples\osgstaticviewer\example_osgstaticviewer.dir\Debug\BuildLog.htm”
1>Examples osgstaticviewer - 1381 个错误,160 个警告
========== 生成: 成功 0 个,失败 1 个,最新 43 个,跳过 0 个 ==========
|
|