<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14pt"><div id="yiv9593834669"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:14pt;">Hi,<br>I wanted to setup Rcpp development on my mac (osx 10.7.5) but I'm having trouble when compiling the RInside examples (linking). I was able to get started quite easily on Ubuntu and I tried to use the same procedure on the mac. I hope that there is a simple solution to get going on the mac.<br><br>Setup Procedure:<br>1. Downloaded the R binaries for OSX (R version 3.0.2 (2013-09-25) -- "Frisbee Sailing")<br>2. Installed Rcpp (0.10.5) and RInside (0.2.10)from within R (used install.packages(file_name_and_path, repos = NULL, type="source"))<br>3. ran CMake (2.8.12) on the RInside examples/standard in a separate build
directory<br>4. ran make (compiler is Clang 4.0)<br><br>So the problem is that I get a linking problem and I'm not sure how to fix it. On Ubuntu, the linking was automatic so I'm a little lost how to point to the required
libraries.<br><br>33 warnings generated.<br>Linking CXX executable rinside_callbacks0<br>Undefined symbols for architecture x86_64:<br> "RInside::RInside(int, char const* const*, bool, bool, bool)", referenced from:<br> _main in rinside_callbacks0.cpp.o<br> "RInside::~RInside()", referenced from:<br> _main in rinside_callbacks0.cpp.o<br>ld: symbol(s) not found for architecture x86_64<br>clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>make[2]: *** [rinside_callbacks0] Error 1<br>make[1]: *** [CMakeFiles/rinside_callbacks0.dir/all] Error 2<br>make: *** [all] Error 2<br><br>Thanks in advance for your help,<br>Conrad :)<br><br><div id="yiv9593834669yui_3_13_0_rc_1_1_1381830840075_11733"><br></div></div></div></div></div></body></html>