On 24 February 2015 at 14:41, Charles Determan Jr wrote: | Thank you for that clarification, I always seem to forget that Rcpp packages | have many libraries loaded by default. I have trimmed the headers down to the | following to just | | #include <RcppArmadillo> | | However, some further background, I am working on extending the bigalgebra | package (hence the interest in RcppArmadillo) so their are some additional | headers that are now included in this problem. The total headers now looks | like this: | | #include "bigmemory/BigMatrix.h" | | #include <RcppArmadillo.h> | | #ifdef REFBLAS | #include "refblas64longlong.h" | #define INT long long | #else | #include <R_ext/BLAS.h> | #include <R_ext/Lapack.h> | #define INT int | #endif | | Again, if I simply change RcppArmadillo to Rcpp it compiles without a problem | but with RcppArmadillo more of the 'length passed 4 arguments' and also 'const | string has no member name 'Rf_length' errors.
Try reordering: Have #include <RcppArmadillo.h> last. And possibly #include "bigmemory/BigMatrix.h" next to last. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | [email protected] _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
