velocyto-team / velocyto.R

RNA velocity estimation in R
http://velocyto.org
179 stars 222 forks source link

velocyto.R installation issue: RcppArmadillo.h: No such file or directory #53

Open ClaireDunican opened 5 years ago

ClaireDunican commented 5 years ago

The following error arises when I attempt to install velocyto.R on R 3.5.1:

*** arch - i386 C:/Rtools/mingw_32/bin/g++ -std=gnu++11 -I"C:/PROGRA~1/R/R-35~1.1/include" -DNDEBUG -I"\icnas1.cc.ic.ac.uk/cd2514/R/win-library/3.5/Rcpp/include" -I"\icnas1.cc.ic.ac.uk/cd2514/R/win-library/3.5/RcppArmadillo/include" -fopenmp -O2 -Wall -mtune=generic -c RcppExports.cpp -o RcppExports.o RcppExports.cpp:4:27: fatal error: RcppArmadillo.h: No such file or directory

include

compilation terminated. make: *** [C:/PROGRA~1/R/R-35~1.1/etc/i386/Makeconf:215: RcppExports.o] Error 1

The code I used to install this package is: library(devtools) install_github("velocyto-team/velocyto.R")

I have RcppArmadillo successfully installed. Any help would be appreciated, thanks in advance.,

edit: devtools::install_github(repo = "RcppCore/Rcpp", lib="C:/Program\ Files/R/R-3.5.1/library") helped solve the problem

pkharchenko commented 5 years ago

I wonder if this is windows specifics ... should we be providing Makevars.win with some differences there?

ClaireDunican commented 5 years ago

I spent a few days trying to install it with windows but gave up in the end. I managed to get to the point where it was trying to compile velocyto but was unable to find the boost_filesystem files despite these being installed/unpacked/compiled and OpenMP enabled.

angelolimeta commented 5 years ago

The same thing happened to me when trying to install it.