Blender Git Loki

Git Commits -> Revision b8a7f84

Revision b8a7f84 by Damien Plisson (master)
October 27, 2009, 13:40 (GMT)
Mac:
Fixed gcc-4.0 compile error (cocoa)

Updated scons to build cocoa (32bit & 64bit) (Thx Jens Verwiebe for the patch):
- make sure right python is unzipped to app-bundle ( printing information at the end of compiling )
- make sure arch-setting appends needed flags ( depending on OSX-version obsolete sometimes but harmless )
- link correct frameworks depending on gfx-api ( cocoa/carbon)
- conscript prepared for cocoa objC-files
- link to openAL-framework, using the headers from blender-lib + the symbols in framework

Usage instruction:
The default build is Cocoa 32bit.
To change it, copy config/darwin-config.py to user-config.py in the blender folder, and edit:
- WITH_GHOST_COCOA & MACOSX_ARCHITECTURE variables to select cocoa/carbon, and the arch (i386, X86_64, ppc, ..)
- the libs options as usual

Commit Details:

Full Hash: b8a7f844ca2bf07a70b4e33ca6b28bb7312df11d
SVN Revision: 24111
Parent Commit: 54facb5
Lines Changed: +123, -37

5 Modified Paths:

/config/darwin-config.py (+84, -28) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+1, -1) (Diff)
/intern/ghost/SConscript (+23, -4) (Diff)
/tools/Blender.py (+11, -3) (Diff)
/tools/btools.py (+4, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021