hi again,

still with the latest ngl, I'm having troubles compiling some examples.

the error comes from ngl.h

<code>
#ifndef GL_ARB_vertex_buffer_object
   typedef ptrdiff_t GLintptrARB;
   typedef ptrdiff_t GLsizeiptrARB;
#endif
</code>

<error>
syntax error: missing ';' before identifier 'GLintptrARB'
</error>

If I have well understood, this piece of code should handle the case where these 2 typedef are not defined in <GL/glext.h> but in my case it is already defined and the preprocessor should skip these lines as 'GL_ARB_vertex_buffer_object' is already defined.

cheers

remy

--
//         [EMAIL PROTECTED]          \\
\\     Equipe Applications temps-réel    //
  ---------------------------------------
//        mdsp @ smartelectronix         \\
\\ http://www.smartelectronix.com/~mdsp/ //



Reply via email to