[Bf-committers] issue making debug-build for 2.49svn on winXP

migius at gmx.net migius at gmx.net
Wed Mar 3 00:57:24 CET 2010

What is the state of building 2.49-DEBUG-version on winXP with scons+mingw?

Please apologize, it is my absolutely first try with debugging of C code.
The 2.49b standard version (BF_DEBUG=False) builds since ever perfect here: winXP+scons+mingw

If i build with BF_DEBUG=True i get massive linking errors:
D:\blender\build249\win32-mingw\lib\libblender_python.a(BPY_interface.o): In function `setup_armature_weakrefs':
 undefined reference to `_imp___Py_RefTotal'
 undefined reference to `_imp___Py_NegativeRefcount'
 undefined reference to `_imp___Py_Dealloc'
and the same for files in /blender/source/blender/python/api2_2x/
like Object.c,Pose.c,...
and also for this file: 

I suppose something is wrong/missing in python libraries existing
 in lib24/windows/python/lib/:
-python26_d.pdb ???

Are they compiler specific (in debug-mode)? i.e. they are working for MSVC but not for gcc?

What is the alternative if mingw doesn't support debug building?


Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser

More information about the Bf-committers mailing list