找不到GMP(丢失:GMP_LIBRARIES)

时间:2019-02-01 21:16:12

标签: linux cmake gmp

我需要在Linux中安装SymPol。 SymPol要求:

Boost in version 1.34.1 or higher
GMP with both C and C++ bindings
CMake in version 2.6 or higher

我成功安装了这3个组件,但是当我想安装SymPol时说:

CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find GMP (missing: GMP_LIBRARIES)
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  external/cmake/Modules/FindGMP.cmake:18 (find_package_handle_standard_args)
  CMakeLists.txt:8 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
See also "/home/naghme/Templates/Sympol/sympol-0.1.8/build/CMakeFiles/CMakeOutput.log".

我使用“ make check”命令来确保已安装GMP,并且没有任何错误,因此已经安装了该文件,但我不知道此错误来自何处以及如何解决。

0 个答案:

没有答案