R无法找到gsl / gsl_rng.h

问题描述

我必须在R(Windows 10)中安装“ cobreak”软件包,这需要软件包“ rcpp”和“ rcpparmadillo”以及gsl。我通过“ cygwin”安装了GSL 2.6,然后通过“ mingw”再次尝试。在安装cobreak时,仍然R无法找到gsl:

> *** arch - i386 /mingw32/bin/g++ -std=gnu++11  -I"C:/PROGRA~1/R/R-40~1.2/include" -DNDEBUG  -I'C:/Users/sakei/Documents/R/win-library/4.0/Rcpp/include' -I'C:/Users/sakei/Documents/R/win-library/4.0/RcppArmadillo/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c cointmdl.cc -o cointmdl.o In file included from genmdl.h:5,>                  from cointmdl.cc:1: random_arma.h:4:10: fatal error: gsl/gsl_rng.h: No such file or directory  #include <gsl/gsl_rng.h>
>           ^~~~~~~~~~~~~~~ compilation terminated.

有人可以解决吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...