[Bf-python] Mesh.c in current cvs

jean-michel soler jmsoler at free.fr
Fri Feb 10 21:02:33 CET 2006


I have a problem with MSVC 7.1 scons and Mesh.c :

Compiling ==> 'Mesh.c'
Mesh.c
source\blender\python\api2_2x\Mesh.c(2510) : error C2275: 'PyObject' : 
illegal u
se of this type as an expression
        e:\bf-blender\lib\windows\python\include\python2.4\object.h(104) 
: see d
eclaration of 'PyObject'
source\blender\python\api2_2x\Mesh.c(2510) : error C2065: 'tmp2' : 
undeclared id
entifier
source\blender\python\api2_2x\Mesh.c(2511) : warning C4047: 'function' : 
'PyObje
ct *' differs in levels of indirection from 'int'
source\blender\python\api2_2x\Mesh.c(2514) : error C2223: left of 
'->ob_refcnt'
must point to struct/union
source\blender\python\api2_2x\Mesh.c(4078) : error C2275: 'PyObject' : 
illegal u
se of this type as an expression
        e:\bf-blender\lib\windows\python\include\python2.4\object.h(104) 
: see d
eclaration of 'PyObject'
source\blender\python\api2_2x\Mesh.c(4079) : warning C4047: 'function' : 
'PyObje
ct *' differs in levels of indirection from 'int'
source\blender\python\api2_2x\Mesh.c(4082) : error C2223: left of 
'->ob_refcnt'
must point to struct/union
scons: *** 
[E:\bf-blender\build\win32-vc\source\blender\python\api2_2x\Mesh.obj]
 Error 2
scons: building terminated because of errors.

Regards .




More information about the Bf-python mailing list