nanovg icon indicating copy to clipboard operation
nanovg copied to clipboard

Build issue (with quick fix)

Open jezze opened this issue 6 years ago • 0 comments

Hi,

Had an issues with conflicting types between GLEW and GLEXT when trying to compile example_gl2 and exampl_gl3. Basically it spits out a bunch of lines similar to these:

/usr/include/GL/glext.h:12066:25: error: conflicting types for ‘PFNGLFRAGMENTLIGHTFVSGIXPROC’

However, removing the GLFW_INCLUDE_GLEXT define from example_gl2.c and example_gl3.c made the error disappear. I know this is not a solution but I'm just saying this happened and then it's up you guys to do whatever you want with this information :D My guess is a simple reorder of includes might fix it.

Thanks, great library by the way!

jezze avatar Feb 05 '19 16:02 jezze