我在安装' seqminer' 如果有人认识到这个问题或通过这个问题,请帮助我。
R_CPP_interface.cpp: In function ‘SEXPREC* getListElement(SEXP, const char*)’:
R_CPP_interface.cpp:37:8: error: ‘strcmp’ is not a member of ‘std’
R_CPP_interface.cpp:37:8: note: suggested alternative:
/usr/include/string.h:143:12: note: ‘strcmp’
make: *** [R_CPP_interface.o] error 1
ERROR: compilation failed for package ‘seqminer’
* removing ‘/usr/local/lib/R/site-library/seqminer’
* restoring previous ‘/usr/local/lib/R/site-library/seqminer’
答案 0 :(得分:2)
该错误似乎与此问题有关:
strcmp et. al. not a member of std?
基于那里的答案,可能的解决方案可能包括:
R_CPP_interface.cpp
以插入#include <cstring>
,然后从本地来源安装我还会在project Github repo提交问题。