Hi all,

I'm trying to use Rcpp with bigmemory, and I'm using the exact same example
from http://gallery.rcpp.org/articles/using-bigmemory-with-rcpp/  , but I'm
encountering the following error:

> sourceCpp("example.cpp")
In file included from
/home/tiago/R/x86_64-pc-linux-gnu-library/3.0/bigmemory/include/bigmemory/MatrixAccessor.hpp:4:0,
                 from example.cpp:7:
/home/tiago/R/x86_64-pc-linux-gnu-library/3.0/bigmemory/include/bigmemory/BigMatrix.h:5:48:
fatal error: boost/interprocess/mapped_region.hpp: No such file or directory
compilation terminated.
make: *** [example.o] Error 1
g++ -I/usr/share/R/include -DNDEBUG
-I"/home/tiago/R/x86_64-pc-linux-gnu-library/3.0/Rcpp/include"
-I"/home/tiago/R/x86_64-pc-linux-gnu-library/3.0/bigmemory/include"
-fpic  -O2 -pipe -g  -c teste.cpp -o teste.o
Error in sourceCpp("example.cpp") :
  Error 1 occurred building shared library.

Any ideas?
_______________________________________________
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

Reply via email to