[Rcpp-devel] Rcpp+bigmemory+inline

Tiago Fragoso fragoso2718 at gmail.com
Tue Jan 28 00:58:07 CET 2014


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20140127/02156c4a/attachment.html>


More information about the Rcpp-devel mailing list