Hi Marc,

MinGW isn't a commonly used platform for OSG users so I'm afraid it's
a case of those who want to use MinGW need help fix the problems as
they occur.  If you have a fix then subscribe to and a send en email
with the whole modified file to osg-submissions mailing list so it can
be reviewed and consered to merge with svn/trunk and/or the OSG-3.2
branch.

As for the specific suggestion of adding include <stdlib.h>, I'd be
hesitate to add this for all platforms but a specific case for MinGW
would be OK, although would feel a bit hacky.  If there is already a
MinGW code path in the header than adding it that section would be
most natural.

Robert.

On 6 February 2014 11:06, Marc Jacquin <amarc.jacq...@gmail.com> wrote:
> Hi all,
>
> Trying to build OSG with Eclipse and MinGW on Win 7 reports a "_int64 does 
> not name a type" error in GL header file at lines 147 & 148:
>
> #if !defined(GL_EXT_timer_query) && !defined(OSG_GL3_AVAILABLE)
>
>     #ifdef _WIN32
>         typedef          __int64 GLint64EXT;
>         typedef unsigned __int64 GLuint64EXT;[/u]
>     #else
>         typedef long long int GLint64EXT;
>         typedef unsigned long long int GLuint64EXT;
>     #endif
> #endif
>
> Adding a stdlib include at the top of GL.h seems to fix it.
>
> Is that the proper way to do it ?
>
> Thanks.
>
> Cheers,
> Marc
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=58174#58174
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to