Closed khughitt closed 8 years ago
I can compile it on Ubuntu using GCC-5.3.1.
It seems that Rcpp is not compatible with std::map
implementation in GCC-6.1.1.
@eddelbuettel Can you kindly help?
You probably have to (re-)compile your whole stack using g++-6
instead of mixing.
We do that within Debian for tests and have had no issues provided alll components are compiled with the same compiler as there are again ABI changes between g++-5 and g++-6.
@alyst do you have any idea of this?
@GuangchuangYu I haven't tested it myself (although I can reproduce the bug), but maybe just explicitly converting Rcpp string vector elements into std::string
would help, i.e. changing line 91 of ICMethod.cpp
into
normIcMap.insert( std::make_pair( (std::string)icNames[i], cic / mic ) );
The same for line 112.
@alyst Thanks. It fixed the issue.
@khughitt Please try re-install it and checkout the vignette. The function calls of the devel branch were changed since I extend the method to support more species (OrgDb
object that can be queried via AnnotationHub
).
Works! Thanks for the quick fix, and for pointing me to the vignette. Also pretty excited for the capabilities of AnnotationHub.
Hello,
I've run into some compilation errors recently when trying to install GOSemSim:
System info: