[email protected]:~/Programs/love$ make
Making liblove ...
Making love ...
Making love_chipmunk ...
src/chipmunk/chipmunk/cpCollision.c: In function ‘int findVerts(cpContact**, cpPolyShape*, cpPolyShape*, cpVect, cpFloat)’:
src/chipmunk/chipmunk/cpCollision.c:171: error: cast from ‘cpPolyShape*’ to ‘unsigned int’ loses precision
src/chipmunk/chipmunk/cpCollision.c:177: error: cast from ‘cpPolyShape*’ to ‘unsigned int’ loses precision
src/chipmunk/chipmunk/cpCollision.c: In function ‘void findPointsBehindSeg(cpContact**, int*, int*, cpSegmentShape*, cpPolyShape*, cpFloat, cpFloat)’:
src/chipmunk/chipmunk/cpCollision.c:230: error: cast from ‘cpPolyShape*’ to ‘unsigned int’ loses precision
src/chipmunk/chipmunk/cpCollision.c: In function ‘int seg2poly(cpShape*, cpShape*, cpContact**)’:
src/chipmunk/chipmunk/cpCollision.c:271: error: cast from ‘cpSegmentShape*’ to ‘unsigned int’ loses precision
src/chipmunk/chipmunk/cpCollision.c:273: error: cast from ‘cpSegmentShape*’ to ‘unsigned int’ loses precision
make[1]: *** [obj/chipmunk/cpCollision.o] Error 1
make: *** [love_chipmunk] Error 2
It looks like some error in the code to me, but I'm not sure. Can anyone clear this up and see if I did something wrong?
Here's my version of gcc by the way, this is on Ubuntu 8.04:
Ok, that's weird. I have the exact same version of gcc as you do, and I built the binaries without even a warning. (32-bit, however).
Try removing "love_chipmunk" in the top line of the makefile. It's not really needed right now (it's never loaded in 0.3.0). I know that's not a solution in the long run, but it may work as a quick fix for now.
I'll download Ubuntu 64-bit and install on another virtual machine, so I can give it a go myself. If all the required libraries are available in 64-bit, I see no reason why we can't start providing 64-bit packages as well.