I'm trying to compile love (not because I'm masochistic, but because I'm on 64bit and there is no .deb), but I get this error:
Code: Select all
vadi@ubuntu-laptop:~/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
Here's my version of gcc by the way, this is on Ubuntu 8.04:
vadi@ubuntu-laptop:~/Programs/love$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
vadi@ubuntu-laptop:~/Programs/love$