[Rinside-commits] compilation problem with examples
GuruHeins
guruheins at gmx.de
Thu Jan 21 19:02:22 CET 2010
Hi
I have exactly the same problem, but -DR_NO_REMAP didnt helped.
It worked fine with the old Rcpp version, but not anymore.
Thanks
Richard
Am 21.01.2010 um 17:51 schrieb Christian Ledergerber:
> Hi,
>
> 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!
>
> Cheers Christian
>
>
>
> On Thu, Jan 21, 2010 at 5:58 PM, Christian Ledergerber <ledergec at gmail.com> wrote:
> Hi,
>
> 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).
>
> Any hint would be appreciated!
>
> Thanks,
>
> Christian
>
>
> On Thu, Jan 21, 2010 at 12:58 PM, Christian Ledergerber <ledergec at gmail.com> wrote:
> Hi,
>
> 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.
>
> First: whenever running R it first writes "WARNING: ignoring environment value of R_HOME" causing all sorts of compilation problems.
>
> Second: after manually curing the above issue I get compilation errors of the following type:
>
> make
> 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
> /Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h: In member function ‘bool Rcpp::RObject::Rf_isObject() const’:
> /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’
> /Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h:187: note: candidates are: bool Rcpp::RObject::Rf_isObject() const
> /Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h: In member function ‘bool Rcpp::RObject::Rf_isS4() const’:
> /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’
> /Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RObject.h:192: note: candidates are: bool Rcpp::RObject::Rf_isS4() const
> /Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h: In member function ‘int Rcpp::IntegerVector::Rf_length() const’:
> /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’
> /Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h:49: note: candidates are: int Rcpp::IntegerVector::Rf_length() const
> /Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h: In member function ‘int Rcpp::IntegerVector::size() const’:
> /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’
> /Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/IntegerVector.h:49: note: candidates are: int Rcpp::IntegerVector::Rf_length() const
> /Library/Frameworks/R.framework/Resources/library/Rcpp/lib/Rcpp/RawVector.h: In member function ‘int Rcpp::RawVector::Rf_length() const’:
> .
> .
> .
> .
>
> Could you please let me know whether you know of this issue and how it could be solved?
>
> Thanks,
>
> Christian
>
>
> _______________________________________________
> Rinside-commits mailing list
> Rinside-commits at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rinside-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r-forge.r-project.org/pipermail/rinside-commits/attachments/20100121/7a7de145/attachment-0001.htm
More information about the Rinside-commits
mailing list