It seems on MacOS the default flags in the RInside/examples/standard/Makefile have the "-framework R" flag and won't compile without it. Why do I need this if I am already providing libRcpp.a and libRInside.a ? I'd like to be able to build a program that I can distribute to a computer that does not have R installed... Or is this not possible? Thanks, Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100408/f96407ad/attachment.htm
[Rcpp-devel] Static linking of Rcpp
2 messages · Dan Kulp, Romain Francois
Le 08/04/10 17:53, Dan Kulp a ?crit :
It seems on MacOS the default flags in the RInside/examples/standard/Makefile have the "-framework R" flag and won't compile without it. Why do I need this if I am already providing libRcpp.a and libRInside.a ?
You need R to be installed. R is not just a c library, but ships quite a lot of R code that it needs.
I'd like to be able to build a program that I can distribute to a computer that does not have R installed... Or is this not possible? Thanks, Dan
One way or another you need R. Please ask the r-sig-mac mailing list for clues about how to build R not as a framework. Romain
Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://romainfrancois.blog.free.fr |- http://bit.ly/9aKDM9 : embed images in Rd documents |- http://tr.im/OIXN : raster images and RImageJ |- http://tr.im/OcQe : Rcpp 0.7.7