c - Setup MinGW for creating OpenGL context in WINAPI? -
i've been trying setup mingw work c , winapi create opengl projects. how download, or otherwise get, opengl headers , libraries?
i've read can use #include <gl/glu.h>
. tried , got errors "include glu.h" not found
, , on. tried downloading these .h files , putting them inside include/gl folder, errors undefined reference to... bla bla
when link, when add linker options -lopengl32 -lglu32
, etc.
how can start c, winapi , opengl environment?
what need get, download or set create opengl projects c , winapi?
my os windows 10 64 bit. mingw version 4.9.2-tdm64-3/4.9.2-tdm3
what need get, download or set create opengl projects c , winapi?
in theory: nothing!
opengl-1.1 part of win32 abi, i.e. contract between os , compilers how things work , must supported @ minimum development environment suitable platform sdk.
mingw brings necessary development resources (headers, libraries, linker definition files) default. i'd start double checking, compiler installed properly. mingw installation damaged , suggest reinstalling it. preferably through package manager.
my personal go-to solution installing mingw through msys2 uses pacman package manager (courtesy of arch linux); https://msys2.github.io/
Comments
Post a Comment