Hi again, On 15 April 2011 at 15:00, Giuseppe Milicia wrote: | Guys, | | I'm in a position to compile Rcpp on Solaris with the Sun Compiler (Sun C++ 5.8)
That is awesome, thanks so much for helping. Really appreciated! The full test is 'R CMD check Rcpp_*.tar.gz', not just the install. | 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?) Possibly. We will check with Prof Ripley. | * 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. It chokes on Rcpp::as<int>(d) with d a SEXP. Not sure why -- that is a little odd. Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel