[Rcpp-devel] Installing RcppArmadillo on Cygwin (windows 8)

Ka Yee Yeung kayee at u.washington.edu
Wed Feb 19 20:30:34 CET 2014


Hi,

I am wondering if anybody has successfully installed RcppArmadillo version 
0.4.000.2 using Cygwin on Windows 8 and R 3.0.2.

I can install the package inside R version 3.0.2, but when I try to 
install the package from source thru Cygwin, it complained about a missing 
header file  "RcppArmadilloLapack.h"

Here is the detailed error message:

$ R CMD INSTALL RcppArmadillo_0.4.000.2.tar.gz

* installing to library 'C:/Program Files/R/R-3.0.2/library'
* installing *source* package 'RcppArmadillo' ...
** package 'RcppArmadillo' successfully unpacked and MD5 sums checked
** libs
*** arch - i386
g++ -m32 -I"C:/PROGRA~1/R/R-30~1.2/include" -DNDEBUG -I../inst/include -I. 
-I"C:/Program Files/R/R-3.0.2/library/Rcpp/include" 
-I"d:/RCompile/CRANpkg/extralibs64/local/include"     -O2 -Wall 
-mtune=core2 -c RcppArmadillo.cpp -o RcppArmadillo.o
In file included from ../inst/include/RcppArmadilloForward.h:28:0,
                  from ../inst/include/RcppArmadillo.h:30,
                  from RcppArmadillo.cpp:22:
../inst/include/RcppArmadilloConfig.h:83:35: fatal error: 
RcppArmadilloLapack.h: No such file or directory
    #include <RcppArmadilloLapack.h>
                                    ^

Any pointers would be greatly appreciated.

Ka Yee




More information about the Rcpp-devel mailing list