SofieVG / FlowSOM

Using self-organizing maps for visualization and interpretation of cytometry data
61 stars 26 forks source link

FlowSOM installation issues with boost library #49

Open alex-l-kong opened 2 years ago

alex-l-kong commented 2 years ago

I'm trying to download FlowSOM using the BiocManager::install('FlowSOM') but am running into issues with the following error:

g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -DROUT -I../inst/include -DBOOST_NO_AUTO_PTR -I'/usr/local/lib/R/site-library/Rcpp/include' -I'/usr/local/lib/R/site-library/BH/include' -I'/usr/local/lib/R/site-library/RProtoBufLib/include' -I'/usr/local/lib/R/site-library/Rhdf5lib/include' -I'/usr/local/lib/R/site-library/RcppArmadillo/include' -I'/usr/local/lib/R/site-library/RcppParallel/include'    -fpic  -g -O2 -ffile-prefix-map=/build/r-base-XqSJAD/r-base-4.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c boost/libs/filesystem/src/operations.cpp -o boost/libs/filesystem/src/operations.o
boost/libs/filesystem/src/operations.cpp: In function ‘boost::filesystem::path boost::filesystem::detail::relative(const boost::filesystem::path&, const boost::filesystem::path&, boost::system::error_code*)’:
boost/libs/filesystem/src/operations.cpp:2421:46: error: no matching function for call to ‘weakly_canonical(const boost::filesystem::path&, boost::system::error_code*)’
 2421 |   path wc_base(weakly_canonical(base, &tmp_ec));

I have g++ version 10.2.1 on Debian. Let me know if there's an issue with my g++ version or the way I'm installing FlowSOM.

UPDATE: seems to be an issue with the cytolib library in particular.