You are not logged in.
Pages: 1
i can't get blender to compile on arch64. here's the error it shows:
include -DdNODEBUG -O2 -o ode/src/matrix.o ode/src/matrix.cpp
ode/src/matrix.cpp: In function 'int dFactorCholesky(dReal*, int)':
ode/src/matrix.cpp:121: error: cast from 'void*' to 'int' loses precision
ode/src/matrix.cpp: In function 'void dSolveCholesky(const dReal*, dReal*, int)':
ode/src/matrix.cpp:153: error: cast from 'void*' to 'int' loses precision
ode/src/matrix.cpp: In function 'int dInvertPDMatrix(const dReal*, dReal*, int)':
ode/src/matrix.cpp:173: error: cast from 'void*' to 'int' loses precision
ode/src/matrix.cpp:175: error: cast from 'void*' to 'int' loses precision
ode/src/matrix.cpp: In function 'int dIsPositiveDefinite(const dReal*, int)':
ode/src/matrix.cpp:193: error: cast from 'void*' to 'int' loses precision
ode/src/matrix.cpp: In function 'void dLDLTAddTL(dReal*, dReal*, const dReal*, int, int)':
ode/src/matrix.cpp:237: error: cast from 'void*' to 'int' loses precision
ode/src/matrix.cpp:238: error: cast from 'void*' to 'int' loses precision
ode/src/matrix.cpp: In function 'void dLDLTRemove(dReal**, const int*, dReal*, dReal*, int, int, int, int)':
ode/src/matrix.cpp:324: error: cast from 'void*' to 'int' loses precision
ode/src/matrix.cpp:330: error: cast from 'void*' to 'int' loses precision
ode/src/matrix.cpp:331: error: cast from 'void*' to 'int' loses precision
make[3]: *** [ode/src/matrix.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 1
make: *** [all] Error 1
==> ERROR: Build Failed. Aborting...
anything i could try? thanks
Offline
This is 64bit and gcc4.1 related. That's why it has not yet been ported ;-)
We need to patch an unsigned int dReal variable to unsigned int64 dReal and maybe even more. I'll have a look at it again.
Look similar to this one: http://projects.blender.org/tracker/?gr … l&aid=3481
Offline
You can test this one:
http://www.archlinux.org/~andyrtr/blend … pkg.tar.gz
It starts. But I had to disable the whole "ode" stuff to get it compile. I never use this software. Please report if it is usefull without "ode" or not. And I think the blenderplayer is also missing.
Offline
hey cool thanks i was hoping to dink around with it a bit having used 3dsmax in the past a little bit. probably won't even begin to touch the ode stuff hehe. thanks.
Offline
I've rewritten the PKGBUILD so we use scons now for Arch64. A new package is up and all files from Arch32 are now included.
Neri asked me to use internal shipped FTGL. I will have a look a that later. Tell us if you still have problems with Blender.
AndyRTR
Offline
Pages: 1