[Bf-python] Python VC compilation...

Pjotr Svetachov pjotrsvetachov at wanadoo.nl
Sat May 31 14:14:47 CEST 2003


Hi, i tried to compile the new python stuff with cygwin yesterday, and it
gave me the same error at armeture.c in like 141 at
PyObject_HEAD_INIT(&PyType_Type) so it's not only VC
----- Original Message ----- 
From: "Simon Clitherow" <mediocre at mixnmojo.com>
To: <bf-python at blender.org>
Sent: Saturday, May 31, 2003 12:00 PM
Subject: [Bf-python] Python VC compilation...


> Hi list!
>
> I've started to modify the VC6 project files to compile in this new python
> stuff.
>
> Sadly (but not suprisingly), I had to modify the code somewhat to get
things
> to compile correctly on Windows.
>
> Basically, VC doesn't like the PyObject_HEAD_INIT(&PyType_Type)
statements,
> preferring instead PyObject_HEAD_INIT(NULL) and having the additional
> initialization in the init() functions.
>
> Attached is a diff file which gets Windows compiling.  Currently the
changes
> are encapsulated in #ifdef's but if this method can compile successfully
on
> other platforms, maybe it is better to use it globally?
>
> Cheers,
>
> Simon
>




More information about the Bf-python mailing list