如何修复此Cmake错误"配置过程中出错,项目文件可能无效"?

时间:2017-06-19 13:06:12

标签: c++ cmake nvidia openscenegraph physx

我尝试使用 camke 构建 osgPhysX 来源。配置cmake时会出现以下行的错误。

  CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    PHYSX_INCLUDE_DIR
       used as include directory in directory C:/osgPhysX-master/physics
       used as include directory in directory C:/osgPhysX-master/physics
       used as include directory in directory C:/osgPhysX-master/utils
       used as include directory in directory C:/osgPhysX-master/utils
       used as include directory in directory C:/osgPhysX-master/tests
       used as include directory in directory C:/osgPhysX-master/tests
       used as include directory in directory C:/osgPhysX-master/tests
       used as include directory in directory C:/osgPhysX-master/tests
       used as include directory in directory C:/osgPhysX-master/tests
       used as include directory in directory C:/osgPhysX-master/tests

    Configuring incomplete, errors occurred!
    See also "C:/osgPhysX-master/CMakeFiles/CMakeOutput.log".

0 个答案:

没有答案