未找到 GSL 配置

MTM*_*MTM 6 apt

我正在尝试在 ubuntu 16.04.2 中安装模拟器,但出现以下错误:

CMake Error at cmake/modules/FindGSL.cmake:110 (MESSAGE): could not find gsl-config.  Please set it manually. 
GSL-CONFIG=GSL_CONFIG-NOTFOUND
CmakeLists.txt:93(find_package)

--configuring incomplete, errors occured!
Run Code Online (Sandbox Code Playgroud)

请问有人可以帮我解决这个错误吗?

csg*_*pie 15

您缺少libgsl-dev包裹。这可以通过命令行安装

sudo apt install libgsl-dev
Run Code Online (Sandbox Code Playgroud)

  • 谢谢。对于 RcppGSL R 包很有用。能够在 R 中执行以下操作:`install.packages('RcppGSL')` (2认同)