[Bf-python] Thinmesh module, v1.1

jmsoler at free.fr jmsoler at free.fr
Wed Sep 21 20:19:14 CEST 2005


Selon Ken Hughes <khughes at pacific.edu>:

> jmsoler at free.fr wrote:
> > Do we need a python 2.4 version to apply this patch ?
> > Under cygwin, I get a lot of warning and, at the end, a fatal error .
>
> I've built blender with 2.3 and 2.4 and both work.  Are the warning and
> errors during the build?
>
> Ken

yes, here is the list  of warning :

gcc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -pipe -mno-cygwin -mwindows -DNDEBUG -O2
 -funsigned-char -fno-strict-aliasing -Wall -Wno-char-subscripts  -DFREE_WINDOWS
 -I./ -I/home/JM/bf-blender/blender/../lib/windows/guardedalloc/include -I../../
makesdna -I../../blenkernel -I../../blenlib -I../../blenloader -I../../include -
I../../render/extern/include -I../../radiosity/extern/include -I/home/JM/bf-blen
der/blender/../lib/windows/bmfont/include -I../../imbuf -I/home/JM/bf-blender/bl
ender/../lib/windows/python/include/python2.3 TMesh.c -o /home/JM/bf-blender/ble
nder/obj/windows/blender/python/TMesh.o
TMesh.c: In function `TMCol_setAttr':
TMesh.c:148: warning: implicit declaration of function `EXPP_setIValueClamped'
TMesh.c: In function `TMVert_getSel':
TMesh.c:360: warning: implicit declaration of function `EXPP_getBitfield'
TMesh.c:360: warning: return makes pointer from integer without a cast
TMesh.c: In function `TMVert_setSel':
TMesh.c:370: warning: implicit declaration of function `EXPP_setBitfield'
TMesh.c: In function `TMFace_setMat':
TMesh.c:1150: warning: implicit declaration of function `EXPP_setIValueRange'
TMesh.c: In function `TMFace_getNormal':
TMesh.c:1163: warning: assignment from incompatible pointer type
TMesh.c:1164: warning: assignment from incompatible pointer type
TMesh.c:1165: warning: assignment from incompatible pointer type
TMesh.c:1166: warning: assignment from incompatible pointer type
TMesh.c: In function `TMFace_getMFlagBits':
TMesh.c:1182: warning: return makes pointer from integer without a cast
TMesh.c: In function `TMFace_getTFlagBits':
TMesh.c:1208: warning: return makes pointer from integer without a cast
TMesh.c: In function `TMFace_getMode':
TMesh.c:1272: warning: unused variable `face'
TMesh.c: In function `TMFace_setMode':
TMesh.c:1307: warning: return makes integer from pointer without a cast
TMesh.c: In function `TMesh_setSubDivLevels':
TMesh.c:1925: warning: passing arg 1 of `PyArg_ParseTuple' from incompatible poi
nter type
TMesh.c:1925: warning: passing arg 2 of `PyArg_ParseTuple' from incompatible poi
nter type
TMesh.c:1922: warning: unused variable `i'
TMesh.c:1923: warning: unused variable `tmp'
TMesh.c: In function `TMCol_getAttr':
TMesh.c:99: warning: 'param' might be used uninitialized in this function
TMesh.c: In function `TMCol_setAttr':
TMesh.c:131: warning: 'param' might be used uninitialized in this function

...

/home/JM/bf-blender/blender/obj/windows/blender/python/libpython.a(TMesh.o):TMes
h.c:(.text+0xd3): undefined reference to `_EXPP_setIValueClamped'
/home/JM/bf-blender/blender/obj/windows/blender/python/libpython.a(TMesh.o):TMes
h.c:(.text+0x29f): undefined reference to `_EXPP_getBitfield'
/home/JM/bf-blender/blender/obj/windows/blender/python/libpython.a(TMesh.o):TMes
h.c:(.text+0x2e6): undefined reference to `_EXPP_setBitfield'
/home/JM/bf-blender/blender/obj/windows/blender/python/libpython.a(TMesh.o):TMes
h.c:(.text+0x60c): undefined reference to `_EXPP_setIValueClamped'
/home/JM/bf-blender/blender/obj/windows/blender/python/libpython.a(TMesh.o):TMes
h.c:(.text+0x6ac): undefined reference to `_EXPP_setIValueClamped'
/home/JM/bf-blender/blender/obj/windows/blender/python/libpython.a(TMesh.o):TMes
h.c:(.text+0x9dc): undefined reference to `_EXPP_setIValueRange'
/home/JM/bf-blender/blender/obj/windows/blender/python/libpython.a(TMesh.o):TMes
h.c:(.text+0xafd): undefined reference to `_EXPP_getBitfield'
/home/JM/bf-blender/blender/obj/windows/blender/python/libpython.a(TMesh.o):TMes
h.c:(.text+0xb44): undefined reference to `_EXPP_setBitfield'
$
h.c:(.text+0xba1): undefined reference to `_EXPP_getBitfield'
/home/JM/bf-blender/blender/obj/windows/blender/python/libpython.a(TMesh.o):TMes
h.c:(.text+0xc13): undefined reference to `_EXPP_setBitfield'
/home/JM/bf-blender/blender/obj/windows/blender/python/libpython.a(TMesh.o):TMes
h.c:(.text+0xf33): undefined reference to `_EXPP_setIValueRange'
/home/JM/bf-blender/blender/obj/windows/blender/python/libpython.a(TMesh.o):TMes
h.c:(.text+0x1577): undefined reference to `_EXPP_setIValueClamped'
collect2: ld returned 1 exit status
make[1]: *** [/home/JM/bf-blender/blender/obj/windows/bin/blender.exe] Error 1
make: *** [all] Error 1


jm



More information about the Bf-python mailing list