[Bf-committers] Scons OSX builds with a patch

trip bf-committers@blender.org
Sun, 14 Mar 2004 18:11:19 -0500


With help from Christian Plessl <plessl@tik.ee.ethz.ch> and his patch, 
OSX 10.32 builds Blender with Scons out of the box! YaY! This includes 
Tuhoppu2 and BF clean CVS distros.

One new thing though. The scons build is a bit slower in all ways of 
use. As in the rotation of the screen, selecting , moveing and so on. 
Is this a known problem ? If so then I will not vege on it further. If 
not then I offer my services for experimentation on getting the slow 
bug out of it.

A simple Draw time test gave me,  672 ms
and a make file build gave me 538ms

For newbies. A patch is

patch -p0 < dlimit.diff

And the patch is

Index: SConstruct
===================================================================
RCS file: /cvsroot/bf-blender/blender/SConstruct,v
retrieving revision 1.26
diff -r1.26 SConstruct
113c113
<     darwin_precomp = '#../lib/darwin-6.8-powerpc'
---
 >     darwin_precomp = '#../lib/darwin-6.1-powerpc'
149c149
<     platform_libs = ['stdc++']
---
 >     platform_libs = ['stdc++', 'objc']
151c151
<     platform_libpath = 
['/System/Library/Frameworks/OpenGL.framework/Libraries']
---
 >     platform_libpath = 
['/System/Library/Frameworks/OpenGL.framework/Libraries', '/sw/lib']
930c930,931
<     if user_options_dict['USE_QUICKTIME'] == 1:
---
 >     link_env.Append (LINKFLAGS=' -framework Python')
 > if user_options_dict['USE_QUICKTIME'] == 1: