|
我是按照Openscenegraph三维渲染引擎设计与实践来编写的hello world ,但总是编译不成功,请各位老师指点
错误如下:
1>------ 已启动生成: 项目: bjsj, 配置: Debug Win32 ------
1>正在编译...
1>main.cpp
1>c:\program files\openscenegraph\include\openthreads\block(39) : error C2065: “ScopedLock”: 未声明的标识符
1>c:\program files\openscenegraph\include\openthreads\block(39) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\openthreads\block(39) : error C3861: “mutlock”: 找不到标识符
1>c:\program files\openscenegraph\include\openthreads\block(52) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\openthreads\block(52) : error C3861: “mutlock”: 找不到标识符
1>c:\program files\openscenegraph\include\openthreads\block(65) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\openthreads\block(65) : error C3861: “mutlock”: 找不到标识符
1>c:\program files\openscenegraph\include\openthreads\block(75) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\openthreads\block(75) : error C3861: “mutlock”: 找不到标识符
1>c:\program files\openscenegraph\include\openthreads\block(116) : error C2039: “ScopedLock”: 不是“OpenThreads”的成员
1>c:\program files\openscenegraph\include\openthreads\block(116) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\openthreads\block(116) : error C3861: “mutlock”: 找不到标识符
1>c:\program files\openscenegraph\include\openthreads\block(131) : error C2039: “ScopedLock”: 不是“OpenThreads”的成员
1>c:\program files\openscenegraph\include\openthreads\block(131) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\openthreads\block(131) : error C3861: “mutlock”: 找不到标识符
1>c:\program files\openscenegraph\include\openthreads\block(138) : error C2039: “ScopedLock”: 不是“OpenThreads”的成员
1>c:\program files\openscenegraph\include\openthreads\block(138) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\openthreads\block(138) : error C3861: “mutlock”: 找不到标识符
1>c:\program files\openscenegraph\include\openthreads\block(148) : error C2039: “ScopedLock”: 不是“OpenThreads”的成员
1>c:\program files\openscenegraph\include\openthreads\block(148) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\openthreads\block(148) : error C3861: “mutlock”: 找不到标识符
1>c:\program files\openscenegraph\include\osg\stats(51) : error C2039: “ScopedLock”: 不是“OpenThreads”的成员
1>c:\program files\openscenegraph\include\osg\stats(51) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\osg\stats(51) : error C3861: “lock”: 找不到标识符
1>c:\program files\openscenegraph\include\osg\stats(61) : error C2039: “ScopedLock”: 不是“OpenThreads”的成员
1>c:\program files\openscenegraph\include\osg\stats(61) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\osg\stats(61) : error C3861: “lock”: 找不到标识符
1>c:\program files\openscenegraph\include\osg\stats(67) : error C2039: “ScopedLock”: 不是“OpenThreads”的成员
1>c:\program files\openscenegraph\include\osg\stats(67) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\osg\stats(67) : error C3861: “lock”: 找不到标识符
1>c:\program files\openscenegraph\include\osg\stats(77) : error C2039: “ScopedLock”: 不是“OpenThreads”的成员
1>c:\program files\openscenegraph\include\osg\stats(77) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\osg\stats(77) : error C3861: “lock”: 找不到标识符
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(37) : error C2039: “ScopedLock”: 不是“OpenThreads”的成员
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(37) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(37) : error C2660: “OpenThreads::ReentrantMutex::lock”: 函数不接受 1 个参数
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(46) : error C2039: “ScopedLock”: 不是“OpenThreads”的成员
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(46) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(46) : error C2660: “OpenThreads::ReentrantMutex::lock”: 函数不接受 1 个参数
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(58) : error C2039: “ScopedLock”: 不是“OpenThreads”的成员
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(58) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(58) : error C2660: “OpenThreads::ReentrantMutex::lock”: 函数不接受 1 个参数
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(92) : error C2039: “ScopedLock”: 不是“OpenThreads”的成员
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(92) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(92) : error C2660: “OpenThreads::ReentrantMutex::lock”: 函数不接受 1 个参数
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(101) : error C2039: “ScopedLock”: 不是“OpenThreads”的成员
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(101) : error C2275: “OpenThreads::Mutex”: 将此类型用作表达式非法
1>c:\program files\openscenegraph\include\openthreads\reentrantmutex(101) : error C2660: “OpenThreads::ReentrantMutex::lock”: 函数不接受 1 个参数
1>f:\123\bjsj\bjsj\main.cpp(22) : error C2065: “Node”: 未声明的标识符
1>f:\123\bjsj\bjsj\main.cpp(22) : error C2228: “.get”的左边必须有类/结构/联合
1> 类型是“'unknown-type'”
1>f:\123\bjsj\bjsj\main.cpp(25) : error C2039: “optimizer”: 不是“osgUtil::Optimizer”的成员
1> c:\program files\openscenegraph\include\osgutil\optimizer(61) : 参见“osgUtil::Optimizer”的声明
1>正在生成代码...
1>正在跳过...(未检测到相关更改)
1>bjsj.cpp
1>生成日志保存在“file://f:\123\bjsj\bjsj\Debug\BuildLog.htm”
1>bjsj - 51 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ==========
|
|