[Rcpp-devel] Compiling Rcpp on Solaris with Sun Compiler (5.8)
Giuseppe Milicia
Giuseppe.Milicia at makoglobal.com
Fri Apr 15 16:00:44 CEST 2011
Guys,
I'm in a position to compile Rcpp on Solaris with the Sun Compiler (Sun C++ 5.8)
This is what I get when I try to install Rcpp 0.9.4, which is different from http://www.r-project.org/nosvn/R.check/r-patched-solaris-sparc/Rcpp-00install.html (different version of the compiler?)
* installing *source* package 'Rcpp' ...
** libs
/opt/SUNWspro/bin/CC -library=stlport4 -I/home/XXX/local/R-2.12.2-sun/SunOS5.10/i386/lib/R/include -I../inst/include/ -I/usr/local/include/ -I/XXX/readline/5.2/include -L/usr/local/lib -L/XXX/readline/5.2/SunOS5.10/i386/lib -L/opt/SUNWspro/lib/amd64/ -L/XXXcairo/1.8.10/SunOS5.10/i386/lib/ -L./lib -L/home/XXX/apps/R-2.12.2-sun/lib -Kpic -O -features=tmplrefstatic -features=extensions -c Date.cpp -o Date.o
"../inst/include//Rcpp/as.h", line 78: Error: Could not find a match for Rcpp::as<Rcpp::T>(SEXPREC*).
"Date.cpp", line 46: Error: Could not find a match for Rcpp::as<Rcpp::T>(SEXPREC*) needed in Rcpp::Date::Date(SEXPREC*).
"Date.cpp", line 58: Error: Could not find a match for Rcpp::as<Rcpp::T>(SEXPREC*) needed in Rcpp::Date::Date(const std::string &, const std::string &).
3 Error(s) detected.
make: *** [Date.o] Error 3
ERROR: compilation failed for package 'Rcpp'
* removing '/home/XXX/nodes/dev/SunOS5.10/amd64/4.4.3/lib/Rcpp'
I'll see if I can figure out what makes the compiler choke.
Cheers,
//G
---- MAKO ----
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender immediately by e-mail and delete this e-mail from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the Mako Group. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action with respect to the contents of this information is strictly prohibited. Finally, the recipient should check this email and any attachments for the presence of viruses. The Mako Group accepts no liability for any damage caused by any virus transmitted by this email.
For important disclosures please click <<http://www.makoglobal.com/UKRegulatoryNotice.htm>>
More information about the Rcpp-devel
mailing list