<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi</div><div><br></div><div>I have exactly the same problem, but -DR_NO_REMAP didnt helped.</div><div>It worked fine with the old Rcpp version, but not anymore.</div><div><br></div><div>Thanks</div><div>Richard</div><div><br></div><div><br></div><br><div><div>Am 21.01.2010 um 17:51 schrieb Christian Ledergerber:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<br><br>ok, I had to add -DR_NO_REMAP to the g++ command line options. And apparently the complete R needs to be compiled locally otherwise things are broken, too. The hello world is working now... looking forward to a bright future!<br>
<br>Cheers Christian<br><br><br><br><div class="gmail_quote">On Thu, Jan 21, 2010 at 5:58 PM, Christian Ledergerber <span dir="ltr"><<a href="mailto:ledergec@gmail.com">ledergec@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I tried to compile under linux, too and obtain the same problem (the second problem) when compiling the examples. (Before I tried to do it under MacOSX).<br><br>Any hint would be appreciated!<br><br>Thanks,<br>
<font color="#888888"><br>
Christian</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Jan 21, 2010 at 12:58 PM, Christian Ledergerber <span dir="ltr"><<a href="mailto:ledergec@gmail.com" target="_blank">ledergec@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I would like to use the RInside package. When running make in the examples directory /Library/Frameworks/R.framework/Resources/library/RInside/examples I have two problems.<br><br>First: whenever running R it first writes "WARNING: ignoring environment value of R_HOME" causing all sorts of compilation problems.<br>
<br>Second: after manually curing the above issue I get compilation errors of the following type:<br><br>make<br>g++ -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/library/Rcpp/lib -I/Library/Frameworks/R.framework/Resources/library/RInside/lib -g -O2 -Wall -I/usr/local/include -s rinside_sample0.cpp -F/Library/Frameworks/R.framework/.. -framework R -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/library/Rcpp/lib -lRcpp -L/Library/Frameworks/R.framework/Resources/library/RInside/lib -lRInside -o rinside_sample0<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h: In member function ‘bool Rcpp::RObject::Rf_isObject() const’:<br>/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h:187: error: no matching function for call to ‘Rcpp::RObject::Rf_isObject(SEXPREC* const&) const’<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h:187: note: candidates are: bool Rcpp::RObject::Rf_isObject() const<br>/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h: In member function ‘bool Rcpp::RObject::Rf_isS4() const’:<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h:192: error: no matching function for call to ‘Rcpp::RObject::Rf_isS4(SEXPREC* const&) const’<br>/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h:192: note: candidates are: bool Rcpp::RObject::Rf_isS4() const<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h: In member function ‘int Rcpp::IntegerVector::Rf_length() const’:<br>/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h:49: error: no matching function for call to ‘Rcpp::IntegerVector::Rf_length(SEXPREC* const&) const’<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h:49: note: candidates are: int Rcpp::IntegerVector::Rf_length() const<br>/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h: In member function ‘int Rcpp::IntegerVector::size() const’:<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h:54: error: no matching function for call to ‘Rcpp::IntegerVector::Rf_length(SEXPREC* const&) const’<br>/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h:49: note: candidates are: int Rcpp::IntegerVector::Rf_length() const<br>
/Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RawVector.h: In member function ‘int Rcpp::RawVector::Rf_length() const’:<br>.<br>.<br>.<br>.<br><br>Could you please let me know whether you know of this issue and how it could be solved?<br>
<br>Thanks, <br><font color="#888888"><br>Christian<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>
_______________________________________________<br>Rinside-commits mailing list<br><a href="mailto:Rinside-commits@lists.r-forge.r-project.org">Rinside-commits@lists.r-forge.r-project.org</a><br>https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rinside-commits<br></blockquote></div><br></body></html>