[gdal-dev] troubles building trunk on OSX + Xcode 4.3
Joaquim Luis
jluis at ualg.pt
Wed May 16 07:09:55 EDT 2012
> From it's placement in the above and a vague memory of the old ecw builds, I suspect the carbon part comes from ECW. those separate libNCEcw* libraries are an old way of building ECW, the newer method builds as a single libecwj2. ECW is a PITA to compile on OSX (my notes still leave some unsolved problems).\
Yes, you are right. I built --with-ecw=no and that part disappeared. I
use this old one because (if I remember well) its license terms are much
liberal, and because it works as I have it.
> But for the error, it maybe because it's using the wrong command to link - this is C++, and that's where the new() op is from. Normally, the easy way to link is use g++, which automatically links the necessary C++ library. But your link command is using gcc, which would need the C++ library linked in manually. This is odd because libtool is passed g++, but ends up using gcc. Did you update libtool in your GDAL source?
I didn't mentioned explicitly but I did a svn update so the code should be very close to what's in 1.9.1rc
Anyone building the release candidate on OSX with XCode 4.3.2 successfully?
Joaquim
More information about the gdal-dev
mailing list