Hi Jan, Jan Ciger wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > David Lscbe wrote: > > Ok here's what I did : > ... > > BSP_BIQUADRATIC_PATCH::Tesselate(int, osg::Geometry*)': > > ../ReaderWriterQ3BSP.cpp:637: error: invalid conversion from 'GLuint*' > > to 'unsigned int*' > > I am not sure about Macs, but I have seen a similar problem on a x86_64 > architecture (AMD Opteron/Athlon64) recently. The problem is in the type > size - GLuint is 32bit (stamdard specified) and unsigned int is 64bit on > many 64bit architectures -> this sort of conversion is invalid because > the types are not compatible. > > Macs are 64bit systems as well, aren't they? > > Regards, > > Jan >
I have only seen unsigned int as 32 bits on 64 bit systems. What is the typedef for GLuint on x86_64? Can you print out sizeof(unsigned int) on an x86_64 system? If unsigned int is not 32 bits then several loaders are going to have problems. -- Tom Jolley _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
