[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12714] trunk/blender: Scons Compiling Hack:

Carsten Wartmann cw at blenderbuch.de
Thu Nov 29 19:53:10 CET 2007


Carsten Wartmann schrieb:
> Joshua Leung schrieb:
>> Revision: 12714
>>           http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12714
>> Author:   aligorith
>> Date:     2007-11-29 07:31:36 +0100 (Thu, 29 Nov 2007)
>>
>> Log Message:
>> -----------
>> Scons Compiling Hack:
>>
>> Restoring the "evil src splitting hack" for scons+mingw systems. By default, it is not used, but if your system is choking when trying to link src, then add BF_SPLIT_SRC=1 to your user-config.py to use this hack. 
> 
> 0x539): undefined reference to `_imp__PyExc_AttributeError'
> D:\bdev\build\win32-mingw\lib\libblender_python.a(charRGBA.o):charRGBA.c:(.text+0x562): 
> undefined reference to `_imp__PyExc_IndexError'
> D:\bdev\build\win32-mingw\lib\libblender_python.a(charRGBA.o):charRGBA.c:(.text+0x59f): 
> undefined reference to `_imp__PyExc_IndexError'
> D:\bdev\build\win32-mingw\lib\libblender_python.a(charRGBA.o):charRGBA.c:(.text+0x66f): 
> undefined reference to `_imp__PyExc_IndexError'
> D:\bdev\build\win32-mingw\lib\libblender_python.a(charRGBA.o):charRGBA.c:(.text+0x6a5): 
> undefined reference to `_imp__PyExc_TypeError'
> D:\bdev\build\win32-mingw\lib\libblender_python.a(charRGBA.o):charRGBA.c:(.text+0x7ce): 
> undefined reference to `_imp__PyExc_AttributeError'
> D:\bdev\build\win32-mingw\lib\libblender_python.a(charRGBA.o):charRGBA.c:(.text+0xa50): 
> undefined reference to `_imp__PyExc_TypeError'
> collect2: ld returned 1 exit status
> scons: building terminated because of errors.
> scons: *** [D:\bdev\build\win32-mingw\bin\blender.exe] Error 1
> 
> cw at MANTA /d/bdev/bf-blender
> 
> I still get these errrors. Is it related or something else?

I am quite sure I did not need to change my user-config.py that much 
when changing from Linux to Windows. However this solves my problem:

BF_PYTHON = 'C:/Python25'
BF_PYTHON_VERSION = '2.5'
BF_PYTHON_INC = '${BF_PYTHON}/include'
BF_PYTHON_BINARY = 'python'
BF_PYTHON_LIB = 'python25'
BF_PYTHON_LIBPATH = '${BF_PYTHON}/libs'

Why cant scons not find my python anymore automatically?

Carsten


More information about the Bf-committers mailing list