|
最经正在看王锐先生写的《OpenSceneGraph三维渲染引擎设计与实践》,然后通过SVN提取出源代码,但是用Cmake进行编译时,出现如下提示:
The C compiler identification is MSVC 16.0.40219.1
The CXX compiler identification is MSVC 16.0.40219.1
Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 10
Check for working CXX compiler using: Visual Studio 10 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR)
Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR)
Could NOT find osgAnimation (missing: OSGANIMATION_LIBRARY OSGANIMATION_INCLUDE_DIR)
Could NOT find osgDB (missing: OSGDB_LIBRARY OSGDB_INCLUDE_DIR)
Could NOT find osgFX (missing: OSGFX_LIBRARY OSGFX_INCLUDE_DIR)
Could NOT find osgGA (missing: OSGGA_LIBRARY OSGGA_INCLUDE_DIR)
Could NOT find osgIntrospection (missing: OSGINTROSPECTION_LIBRARY OSGINTROSPECTION_INCLUDE_DIR)
Could NOT find osgManipulator (missing: OSGMANIPULATOR_LIBRARY OSGMANIPULATOR_INCLUDE_DIR)
Could NOT find osgParticle (missing: OSGPARTICLE_LIBRARY OSGPARTICLE_INCLUDE_DIR)
Could NOT find osgShadow (missing: OSGSHADOW_LIBRARY OSGSHADOW_INCLUDE_DIR)
Could NOT find osgSim (missing: OSGSIM_LIBRARY OSGSIM_INCLUDE_DIR)
Could NOT find osgTerrain (missing: OSGTERRAIN_LIBRARY OSGTERRAIN_INCLUDE_DIR)
Could NOT find osgText (missing: OSGTEXT_LIBRARY OSGTEXT_INCLUDE_DIR)
Could NOT find osgUtil (missing: OSGUTIL_LIBRARY OSGUTIL_INCLUDE_DIR)
Could NOT find osgViewer (missing: OSGVIEWER_LIBRARY OSGVIEWER_INCLUDE_DIR)
Could NOT find osgVolume (missing: OSGVOLUME_LIBRARY OSGVOLUME_INCLUDE_DIR)
Could NOT find osgWidget (missing: OSGWIDGET_LIBRARY OSGWIDGET_INCLUDE_DIR)
Configuring done
应该如何设置才能让她们自动寻找对应的位置,我的OSG存放路径为C:\OSG
感觉要是自己一个个的设置路径的话就太麻烦了!
小弟在此先提前感谢各位大侠指点
|
|