0

我已经下载了示例以在用 C++ 编写的开源模拟器中运行。我正在遵循教程来帮助我构建和运行示例。我已经完成了教程中的大部分命令。但是当我尝试 cmake (这是本教程中的最后一步)时,我收到了这个错误。

这是我要运行的示例:https ://github.com/golems/grip-samples/tree/master/cubesTab

我得到的错误在这里:

CMake Error at CMakeLists.txt:30 (find_package):
  Could not find module FindDARTExt.cmake or a configuration file for package
  DARTExt.

  Adjust CMAKE_MODULE_PATH to find FindDARTExt.cmake or set DARTExt_DIR to
  the directory containing a CMake configuration file for DARTExt.  The file
  will have one of the following names:

    DARTExtConfig.cmake
    dartext-config.cmake



CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1202 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.46.1

  Boost include path: /usr/include

  The following Boost libraries could not be found:

          boost_system
          boost_filesystem

  No Boost libraries were found.  You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindDART.cmake:50 (find_package)
  CMakeLists.txt:31 (find_package)


-- Configuring incomplete, errors occurred!
4

1 回答 1

0

尝试使用以下方法完成该过程:

sudo apt-get install cmake libblkid-dev e2fslibs-dev libboost-all-dev libaudit-dev
于 2016-02-14T01:05:01.183 回答