Skip to content
Prev 1146 / 10988 Next

[Rcpp-devel] RcppArmadillo-based code not finding Lapack routines

Mystery solved: the culprit was an "#include <armadillo>" which was executed before any "#include <RcppArmadillo.h>". I'm not sure how this messed things up, but my guess is that it was because there was an old installation of Armadillo library in /usr/local/include, which was before RcppArmadillo in the -I search path. This caused some funny interaction between RcppArmadillo and the Armadillo includes, and ended up not using any of the BLAS routines, which is why vecLib was not linked in -- it was not even needed. :-)

Davor
On 2010-09-27, at 3:20 PM, Davor Cubranic wrote: