[Rcpp-devel] (OS X / 64 bit woes?) R CMD check failing on skeletonc Rcpp module
Dirk Eddelbuettel
edd at debian.org
Sat Mar 24 01:10:47 CET 2012
Davor,
Thanks for the follow-up!
On 23 March 2012 at 16:45, Davor Cubranic wrote:
| Bob, which version of OS X and g++ do you have?
|
| I had no problems running your example on Lion. But with that release
| I had to install Rcpp from source, while your transcript indicates a
| binary version of the package was installed, so you must be using
| either Leopard or Snow Leopard.
Oh I missed that. Rcpp is from source generally makes a difference.
| The version of g++ is also important. I wonder why we see the
| following line in the log:
| ld: warning: in /usr/local/lib/libstdc++.dylib, file was built for
| unsupported file format which is not the architecture being linked (i386)
|
| I doubt that's the cause of the crash, because the loading fails for
| you for the 64-bit version of the package, not 32-bit, but still,
| something is off with your toolchain.
I noticed that too but couldn't quite frame a good response for lack of
familiary with OS X.
| Michael Hannon wrote:
| > My point is that if the problem in question DOES stem from the use of an old
| > version of g++, it's a problem that might be relatively easy to fix. Of
| > course, downloading the full Xcode stuff from Apple would also fix the
| > problem.
|
| The problem with XCode is that release 4, which you need with Mac
| Lion, is only available through the App store. It also does not
| include GCC but llvm-gcc, which some people have had problems with.
| It's easiest to just go with the GCC that the R team makes available
| at http://r.research.att.com/tools/
Simon to the rescue...
Dirk
--
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx
More information about the Rcpp-devel
mailing list