找不到子弹物理库

时间:2015-12-27 00:37:35

标签: c++ build cmake bulletphysics

我正在尝试编译一个需要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,此错误仍然存​​在。我该如何解决这个问题?

详细说明:

  • 操作系统:Ubuntu 15.10(狡猾)
  • 架构:AMD64
  • 子弹版本:2.83
    • 包含目录:/usr/include/bullet
  • cmake版本:3.2
  • 存储库:Thrive
    • 语言:C ++

0 个答案:

没有答案