我尝试使用 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".