You are not logged in.

#1 2006-07-28 11:33:31

karsten
Member
Registered: 2006-07-14
Posts: 261

blender doesn't compile

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 smile

Offline

#2 2006-07-28 12:25:48

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: blender doesn't compile

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

#3 2006-07-31 18:22:15

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: blender doesn't compile

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

#4 2006-08-03 02:17:15

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: blender doesn't compile

hey cool thanks smile 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

#5 2006-08-22 05:38:59

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: blender doesn't compile

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

Board footer

Powered by FluxBB