Hi,

I am attempting to compile OpenSG on Ubuntu Linux on an AMD64 chipset using
Scons, but after installing as many libraries as I can, I am having the
following compile error :

Build/linux-gcc/Source/System/opt/OSGTextVectorGlyph.os
Source/System/Text/OSGTextVectorGlyph.cpp
Source/System/Text/OSGTextVectorGlyph.cpp: In function 'void
osg::gluTessVertexDataCB(void*, void*)':
Source/System/Text/OSGTextVectorGlyph.cpp:287: error: cast from 'void*' to
'osg::UInt32' loses precision
scons: *** [Build/linux-gcc/Source/System/opt/OSGTextVectorGlyph.os] Error 1
scons: building terminated because of errors.

I was wondering whether this was because I was perhaps missing a library, or
whether it was inherant in building on an AMD64 (converting a 64 bit address
pointer into a 32bit int). If so, I would be interested to know if there are
any other similar dependancies within OpenSG concerning the storage of
pointers in 32bit variables, perhaps I could manually edit those variables to
help compilation.

If there is any other information I could provide to help troubleshoot, please
don't hesitate to ask. Thanks for your support!

Craig Moore




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to