在 ubuntu 18.04 仿生中安装 TDA 时出错 [英] error installing TDA in ubuntu 18.04 bionic
问题描述
我尝试在 R 中安装 TDA,但出现错误.
I try to install TDA in R but I got error.
make: *** [diag.o] 错误 1错误:包TDA"编译失败* 删除‘/usr/local/lib/R/site-library/TDA’i.p(...) 中的错误:
make: *** [diag.o] Error 1 ERROR: compilation failed for package ‘TDA’ * removing ‘/usr/local/lib/R/site-library/TDA’ Error in i.p(...) :
我尝试 sudo yum install gmp-devel mpfr-devel但是 ubuntu 安装了 libgmp3-dev 和 libmpfr-dev
I try sudo yum install gmp-devel mpfr-devel but ubuntu has libgmp3-dev and libmpfr-dev installed
我也尝试:install_version('TDA', version='1.4.1')
I also try : install_version('TDA', version='1.4.1')
但我遇到了同样的错误.
But I got the same error.
提前感谢您提供有关如何修复的任何线索.
Thank in advance for any clue about how to fix.
推荐答案
Inside TDA R source
Inside TDA R source
/TDA/src/topology/rips.hpp
/TDA/src/topology/rips.hpp
添加:
#include
原因是next"不在里面
the reason is "next" is no inside
<boost/utility.hpp>
没有了.
这篇关于在 ubuntu 18.04 仿生中安装 TDA 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!