Hi,

At 16:23 02.03.2004, you wrote:
Hi Folks,

I am currently trying to compile OpenSG on a Opteron system
and have run into some troubles in the WindowX library, which might
stem from the fact that basic data types employ 64 bits leading
to conflicts with other types:

In file included from /home/manfred/OpenSG-1.2.Snap/Source/WindowSystem/X/OSGXWindowBase.h:68, from /home/manfred/OpenSG-1.2.Snap/Source/WindowSystem/X/OSGXWindowBase.cpp:61: /home/manfred/OpenSG-1.2.Snap/Source/WindowSystem/X/OSGXWindowDataFields.h:115: error: redefinition
   of `struct osg::FieldDataTraits<UInt64>'
/home/manfred/OpenSG-1.2.Snap/Source/Base/Field/OSGSysFieldDataType.h:489: error: previous
   definition of `struct osg::FieldDataTraits<UInt64>'
/home/manfred/OpenSG-1.2.Snap/Source/WindowSystem/X/OSGXWindowDataFields.h:118: error: `
   ToStringConvertable' was not declared in this scope
/home/manfred/OpenSG-1.2.Snap/Source/WindowSystem/X/OSGXWindowDataFields.h:118: error: enumerator
   value for `StringConvertable' not integer constant

this last error made me remember something I just read in the boost sources:
They mention that some compilers (IIRC Borland was named) have trouble with integral constant expressions if the type is 64 bits.
The whole thing is at http://www.boost.org/more/int_const_guidelines.htm
Of course Borland is not an issue right now, but with Win64 on the horizon I would not be too surprised if the vc++ compilers have their own amount of fun to add ;)

Good luck with your further attempts,
        Carsten



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to