[Bf-committers] More SCons on OS X

Christian Plessl bf-committers@blender.org
Fri, 2 Apr 2004 09:34:33 +0200


Building against Python2.3 framework works well for me on OS X 10.3.3.  
Have you removed your config.opts file, such that it gets rewritten by  
scons? The python and platform related setting in my config.ops file  
are the following:

PLATFORM_LIBS = ['stdc++','objc']
PLATFORM_LIBPATH =  
['/System/Library/Frameworks/OpenGL.framework/Libraries','/sw/lib']
PLATFORM_LINKFLAGS = []
PYTHON_INCLUDE =  
['/System/Library/Frameworks/Python.framework/Versions/2.3/include/ 
python2.3']
PYTHON_LIBPATH =  
['/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ 
python2.3/config'
]
PYTHON_LIBRARY = []
PYTHON_LINKFLAGS = ['-u', '__dummy', '-u', '_PyMac_Error',  
'-framework', 'System', '-framework',
'Python', '-framework', 'CoreServices', '-framework', 'Foundation']

Regards,
  Christian

On 01.04.2004, at 20:12 Uhr, Douglas Bischoff wrote:

> On Apr 01, 2004, at 12:35, Stefan Gartner wrote:
>
>> I had the same error on linux using the Makefiles after switching  
>> from python
>> 2.3 to python 2.2. A clean build (or rather removing all python  
>> related *.o
>> files from the build directory) fixed it.
>
> Hm. Well, did a scons --clean to start over, and got the same error. I  
> am linking against Python 2.3 though, perhaps this is causing the  
> problem? Does Blender yet support linking with 2.3?