Somehow you have obtained a buggy version of RcppEigen_0.3.1.tar.gz I just downloaded that file from a CRAN mirror and this version has the file RcppEigen/inst/include/Eigen/CholmodSupport starting with
#ifndef EIGEN_CHOLMODSUPPORT_MODULE_H #define EIGEN_CHOLMODSUPPORT_MODULE_H #include "SparseCore" #include "src/Core/util/DisableStupidWarnings.h" extern "C" { #include <RcppEigenCholmod.h> } Check your copy of that file. It looks like it has #include <cholmod.h> instead of #include <RcppEigenCholmod.h> It is quite possible that you would have gotten a buggy version if you checked out a copy of the SVN archive at some random time. Making such a change is something I would tend to forget until tests started failing. On Thu, Aug 30, 2012 at 3:44 PM, Rodney Sparapani <rspar...@mcw.edu> wrote: > On 08/30/2012 03:24 PM, Rodney Sparapani wrote: >> >> # 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 > > > Actually it is getting pulled in from RcppEigenForward.h line 31 > just as the diagnostics suggest above. Now I am confused again ;o) > > > -- > Rodney Sparapani, PhD Center for Patient Care and Outcomes Research > Sr. Biostatistician http://www.mcw.edu/pcor > 4 wheels good, 2 wheels better! Medical College of Wisconsin (MCW) > WWLD?: What Would Lombardi Do? Milwaukee, WI, USA _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel