Actually, if you have the old platform SDK files all you need to do is build with -isysroot=/location/of/MacOSX10.7.sdk and it works fine.
We build Bokeh with the LLVM/Clang compiler using this and it works fine, plus some more aggressive optimizations. On Jan 16, 2014, at 5:33 PM, Chip Collier <ccoll...@laika.com> wrote: > The apple-gcc42 build provided by Homebrew has saved my bacon while getting > an environment set up for OSX 10.9. Definitely recommended over alternative > methods. > > Chip > > ----- Original Message ----- > From: "Paolo Berto" <pbe...@jupiter-jazz.com> > To: "Nuke plug-in development discussion" <nuke-dev@support.thefoundry.co.uk> > Sent: Wednesday, January 15, 2014 11:07:08 PM > Subject: Re: [Nuke-dev] Re: Compiling on OSX > > You really don't need to do that. > > Install latest XCode (so you can use it for more modern projects which > have no compiler restrictions) and use Homebrew to install gcc-4.2 as > explained previously/ > > P > > > On Thu, Jan 16, 2014 at 3:31 PM, Dan Maas <dm...@maasdigital.com> wrote: >> Thanks Ben! I've figured it out. For future reference, here is how to >> set up a build environment for Nuke v8 plugins on OSX: >> >> 1. Obtain XCode 3.2.2 (https://developer.apple.com/downloads/) >> >> 2. Don't install XCode, just manually copy gcc4.0.pkg out of the >> "Packages" folder on the .dmg volume. >> >> 3. Install gcc4.0.pkg. To be safe, I installed it to a spare external >> drive instead of my main ystem drive, since otherwise it will probably >> overwrite the current GCC version. >> >> 4. Obtain MacOSX10.6.sdk. This is available in .ZIP form at >> http://www.jamesgeorge.org/uploads/MacOSX10.6.sdk.zip (it may be >> possible to extract this from the XCode 3.2.2 packages as well). >> >> 5. Modify the Nuke Makefile to point to your new g++-4.0 and use the >> MacOSX10.6.sdk for OSX_SYSROOT. >> >> Plugins seem to work OK now! >> >> Best, >> Dan >> _______________________________________________ >> Nuke-dev mailing list >> Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > > > > -- > pbd > > paolo berto durante > space cowboy @ jupiter jazz ltd - hong kong > https://atomkraft.hk > _______________________________________________ > Nuke-dev mailing list > Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > _______________________________________________ > Nuke-dev mailing list > Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev _______________________________________________ Nuke-dev mailing list Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev