我正在尝试编译一个需要Bullet Physics作为依赖项的git存储库。当我尝试编译它时,我在运行cmake时收到以下错误:
CMake Error at /usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find Bullet (missing: BULLET_DYNAMICS_LIBRARY_DEBUG
BULLET_COLLISION_LIBRARY_DEBUG BULLET_MATH_LIBRARY_DEBUG
BULLET_SOFTBODY_LIBRARY_DEBUG)
Call Stack (most recent call first):
/usr/share/cmake-3.2/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindBullet.cmake:74 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:124 (find_package)
导致此错误的命令的确切顺序:
~/Thrive$ mkdir build
~/Thrive$ cd build
~/Thrive/build$ cmake ..
即使我安装了Bullet,此错误仍然存在。我该如何解决这个问题?
/usr/include/bullet