search for: armadillo_bits

Displaying 1 result from an estimated 1 matches for "armadillo_bits".

2013 Feb 01
2
Armadillo error in R extension
...n R C++ extensions? My problem is the following: I programmed a function in a header looking like #include <armadillo> inline arma::vec foo(input) { ... do something return an arma::vec object } compiling this via R CMD INSTALL packagename (PKG_CXXFLAGS = -I/folder/of/armadillo and armadillo_bits in my package) I get the following error "error: expected initializer before 'foo' " The exact line and word is where inline arma::vec ends. Does anyone know what this error could be? Best Simon