[Bf-committers] Fwd: Updates for VC project files, lib/windows
Jacques Beaurain
jbeaurain at istop.com
Sun Jan 9 18:38:01 CET 2005
Here is a patch that solves the Python debug lib problem for windows.
-------------- next part --------------
Index: python/include/python2.2/pyconfig.h
===================================================================
RCS file: /cvsroot/bf-blender/lib/windows/python/include/python2.2/pyconfig.h,v
retrieving revision 1.1
diff -u -r1.1 pyconfig.h
--- python/include/python2.2/pyconfig.h 11 Nov 2002 23:27:35 -0000 1.1
+++ python/include/python2.2/pyconfig.h 9 Jan 2005 17:33:59 -0000
@@ -333,14 +333,14 @@
more (other compilers will still need to do so, but that's taken care
of by the Distutils, so it's not a problem). */
#ifdef _DEBUG
-#pragma comment(lib,"python22_d.lib")
+#pragma comment(lib,"python22.lib")
#else
#pragma comment(lib,"python22.lib")
#endif
#endif /* USE_DL_EXPORT */
#ifdef _DEBUG
-#define Py_DEBUG
+//#define Py_DEBUG
#endif
#define SIZEOF_SHORT 2
Index: python/include/python2.3/pyconfig.h
===================================================================
RCS file: /cvsroot/bf-blender/lib/windows/python/include/python2.3/pyconfig.h,v
retrieving revision 1.1
diff -u -r1.1 pyconfig.h
--- python/include/python2.3/pyconfig.h 26 Apr 2004 20:19:31 -0000 1.1
+++ python/include/python2.3/pyconfig.h 9 Jan 2005 17:33:54 -0000
@@ -218,7 +218,7 @@
their Makefile (other compilers are generally
taken care of by distutils.) */
# ifdef _DEBUG
-# pragma comment(lib,"python23_d.lib")
+# pragma comment(lib,"python23.lib")
# else
# pragma comment(lib,"python23.lib")
# endif /* _DEBUG */
@@ -253,7 +253,7 @@
#endif
#ifdef _DEBUG
-# define Py_DEBUG
+//# define Py_DEBUG
#endif
Index: solid/lib/solid.lib
===================================================================
RCS file: /cvsroot/bf-blender/lib/windows/solid/lib/solid.lib,v
retrieving revision 1.3
diff -u -r1.3 solid.lib
Binary files /tmp/cvs3D2BMr and solid.lib differ
More information about the Bf-committers
mailing list