Problems with orange branch + 64bit

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
bannerboy
Posts: 0
Joined: Sun Sep 05, 2004 1:18 am

Problems with orange branch + 64bit

Post by bannerboy » Wed Jan 04, 2006 4:57 am

I'm having problems building the orange branch on my amd64 machine:

source/kernel/gen_system/GEN_HashedPtr.h: In member function ‘unsigned int GEN_HashedPtr::hash() const’:
source/kernel/gen_system/GEN_HashedPtr.h:43: error: cast from ‘void*’ to ‘unsigned int’ loses precision

would someone like to fix that. :)

kidb
Posts: 0
Joined: Wed Jul 23, 2003 4:31 pm
Contact:

Re: Problems with orange branch + 64bit

Post by kidb » Wed Jan 04, 2006 4:34 pm

bannerboy wrote: source/kernel/gen_system/GEN_HashedPtr.h: In member function ‘unsigned int GEN_HashedPtr::hash() const’:
source/kernel/gen_system/GEN_HashedPtr.h:43: error: cast from ‘void*’ to ‘unsigned int’ loses precision
You could try this old patch from Debian.
http://blendertestbuilds.de/index.php?d ... C-4-Patch/

khughes
Posts: 0
Joined: Sat Jan 08, 2005 9:30 pm
Location: Northern California

Post by khughes » Wed Jan 04, 2006 8:49 pm

That should have been fixed in orange brance; it was fixed in current CVS before the 2.40 release. Maybe try getting the file from there and putting into your orange tree?

khughes
Posts: 0
Joined: Sat Jan 08, 2005 9:30 pm
Location: Northern California

Post by khughes » Wed Jan 04, 2006 9:25 pm

That should have been fixed in orange brance; it was fixed in current CVS before the 2.40 release. Maybe try getting the file from there and putting into your orange tree?

Mats78
Posts: 100
Joined: Thu Oct 17, 2002 5:06 pm
Location: Vantaa, Finland

Post by Mats78 » Thu Jan 05, 2006 9:25 pm

Yes I can verify what khughes suggested. Just copy the file over from current cvs tree. Works fine.

Cheers,
Mats

Post Reply