Skip to content
Prev 4225 / 10988 Next

[Rcpp-devel] Advice on installing CHOLMOD/Suitesparse

On 08/30/2012 02:24 PM, Douglas Bates wrote:
Dear Doug:

I think I understand all that.  But, I am not intentionally co-mingling
sources.  For example, this is what I see when I try to install
RcppEigen from source ...

# R CMD INSTALL RcppEigen_0.3.1.tar.gz
* installing to library '/opt/local/lib64/R/library'
* installing *source* package 'RcppEigen' ...
** package 'RcppEigen' successfully unpacked and MD5 sums checked
** libs
g++ -I/opt/local/lib64/R/include  -I/opt/local/include 
-I"/opt/local/lib64/R/library/Rcpp/include"  -I../inst/include -fpic  -g 
-c RcppEigen.cpp -o RcppEigen.o
In file included from ../inst/include/RcppEigenForward.h:31,
                  from ../inst/include/RcppEigen.h:25,
                  from RcppEigen.cpp:22:
/opt/local/include/Eigen/CholmodSupport:9:23: error: cholmod.h: No such 
file or directory

Something is pulling in the Eigen header file
/opt/local/include/Eigen/CholmodSupport