[osg-users] [GL ES2] Compilation errors on master branch

Robert Osfield robert.osfield at gmail.com
Fri Jun 5 00:56:40 PDT 2015


Hi Terry,

On 4 June 2015 at 20:37, Terry Welsh <mogumbo at gmail.com> wrote:
> I'm no cmake expert, but I think you can do something like that with
> check_symbol_exists or check_type_size.

A first step might be to add a CMake var in, then next automatically
set it's value.

>  Is there any reason the
> typedef needs the same name? Can you just create a unique OSGint64 and
> OSGuint64 instead? That might be the simplest solution if opengl
> headers are too inconsistent.

In the past I tried to just keep the extension functions compatible
with their OpenGL counterparts.  Why OSGuint64 would be compile
compatible it's be inconsistent what users would expect when comparing
OSG code with OpenGL docs.

Another workaround might be to simply put the typedef's into osg
namespace.  This way you could always provide the definition.

Robert.



More information about the osg-users mailing list