Reputation: 20521
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?
Upvotes: 2
Views: 3238
Reputation: 162164
Regarding MinGW you already have everything in place. GLEW is a independently developed third party library which you have to install manually. A pretty new project is Win-Builds (http://win-builds.org/doku.php) which gives you a package manager for the installation of MinGW and an assortment of libraries. You could use that.
Or, if you want easier creation of redistributable Windows installations put the GLEW sources into your own project and build it together with your program.
Upvotes: 1