|
之前我在一台机器上编译osgOcean成功,后来换台机子用cmake生成工程时出现以下错误:
Check for working C compiler: C:/Program Files/Microsoft Visual Studio/VC98/Bin/CL.EXE
Check for working C compiler: C:/Program Files/Microsoft Visual Studio/VC98/Bin/CL.EXE -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/VC98/Bin/CL.EXE
Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/VC98/Bin/CL.EXE -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/Findosg.cmake:54 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:19 (find_package)
Configuring incomplete, errors occurred!
由于我对camke语法也不熟悉,不知道如何改正,求教各位。 |
|