[Bf-committers] OS X scons build

Michael Velikanje bf-committers@blender.org
Tue, 2 Mar 2004 22:34:24 -0900


Success!
I finally got blender to build using scons.

I had to change:

   # TODO: replace darwin-6.8-powerpc with the actual directiory on the
     #       build machine
     darwin_precomp = '#../lib/darwin-6.8-powerpc'

to:

   # TODO: replace darwin-6.8-powerpc with the actual directiory on the
     #       build machine
     darwin_precomp = '#../lib/darwin-7.2.0-powerpc'

and add:

     env['CC']='gcc-3.3'
     env['CXX']='g++-3.3'

to the 'elif sys.platform == 'darwin':' portion of SConstruct to use 
the correct compiler (I've built and installed gcc3.3.2 which doesn't 
like the blender code)

It works great! Nice job Michel.

Michael Velikanje