由于没有权限下附件,所以照着http://wiki.flightgear.org/Building_using_CMake_-_Windows来编译,在编译时出现以下问题:
CMake Error at D:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1096 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing Boost's headers. Call Stack (most recent call first): CMakeLists.txt:168 (find_package)
SimGear mode: NORMAL Sound support: ENABLED Could NOT find osgText (missing: OSGTEXT_LIBRARY OSGTEXT_INCLUDE_DIR) Could NOT find osgSim (missing: OSGSIM_LIBRARY OSGSIM_INCLUDE_DIR) Could NOT find osgDB (missing: OSGDB_LIBRARY OSGDB_INCLUDE_DIR) Could NOT find osgParticle (missing: OSGPARTICLE_LIBRARY OSGPARTICLE_INCLUDE_DIR) Could NOT find osgGA (missing: OSGGA_LIBRARY OSGGA_INCLUDE_DIR) Could NOT find osgUtil (missing: OSGUTIL_LIBRARY OSGUTIL_INCLUDE_DIR) Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR) Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR) CMake Error at D:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES OPENSCENEGRAPH_INCLUDE_DIR OSGTEXT_FOUND OSGSIM_FOUND OSGDB_FOUND OSGPARTICLE_FOUND OSGGA_FOUND OSGUTIL_FOUND OSG_FOUND OPENTHREADS_FOUND) (Required is at least version "3.0.0") Call Stack (most recent call first): D:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) D:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindOpenSceneGraph.cmake:187 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:183 (find_package)
Configuring incomplete, errors occurred!
是不是我还有什么事情没有提前做? |