Am 05.11.11 17:13, schrieb James Turner: > > On 5 Nov 2011, at 11:25, HB-GRAL wrote: > >> Maybe how to set this flags for OSX should go to the readme once. I >> think some OSX users will end up with linking errors because simgear >> compiles "well" with x86_64, but then you run into a lot of problems >> trying to compile flightgear, on OSX. Btw. I tried also to set the flags >> via ccmake like I do it for OSG, but unfortunately without success. >> Sorry for my shortcomings with cmake, I am very fixated on the old build >> system probably, and now it so easy with cmake ;-) > > Setting the compile flags is fine, but there's a much better way, that CMake > 'understands': > > -DCMAKE_OSX_ARCHITECTURES=i386 > > This is a proper CMake list, so you can (and I do, often): > > -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" > > (quotes needed for bash) > > This will then produce fat builds automatically. If you build OSG with > correct options, 'ppc' and 'ppc64' are also possible - of course assuming > your PLIB, ALUT and so on are also built with suitable options! > > There are other 'core' CMake variables to set the OS-X SDK version and > deployment target too, if you ever need those (sometimes I do) > > James >
Hi James, I tried to set -DCMAKE_OSX_ARCHITECTURES and also SDK and Deployment target, but unfortunately whithout success. I did something wrong with ccmake, I didn’t get it re-configured the "right" way. Cheers, Yves ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel