Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Installation in R from github failed #7

@TomLoosli

Description

@TomLoosli

Hi,

I'm trying to download the package from the github page to R (4.05) and i run into the following error message:

"C:/rtools40/mingw32/bin/"g++  -std=gnu++11 -I"C:/PROGRA~1/R/R-40~1.5/include" -DNDEBUG  -I'C:/Users/me/Documents/R/win-library/4.0/Rcpp/include' -I'C:/Users/me/Documents/R/win-library/4.0/RcppArmadillo/include' -I'C:/Users/me/Documents/R/win-library/4.0/RcppEigen/include'        -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign -c add_remove.cpp -o add_remove.o
add_remove.cpp:10:10: fatal error: boost/graph/adjacency_list.hpp: No such file or directory
 #include <boost/graph/adjacency_list.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

The boost library is located in the BH package, which is not listed in the LinkingTo in the DESCRIPTION file. Could that be the issue here? Sorry, I'm rather new to this, in case more information is needed please let me know.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions