mingw fatal error: GL/glew.h: No such file or directory

Trying to build binaries for https://github.com/memononen/nanovg with MinGW32, getting this error:

../example/example_gl2.c:21:23: fatal error: GL/glew.h: No such file or directory
 #  include <GL/glew.h>
                       ^
compilation terminated.

What is the easiest/automated way to get all required MinGW dependencies in place?


Source: c#

Leave a Reply