Does anyone know where I'm supposed to put gl3w.c when setting up gl3w?
I have gl3.h and gl3w.h in
C:/program files/windows sdks/7.0a/include/gl3/
Last edited on
I'm pretty sure that gl3.h and gl3w.h are in the right spot. But the external unresolved errors are probably because the gl3w.c is in the wrong spot.
Last edited on
I figured it out (for the most part). I had to do
1 2 3
|
#include <gl3/gl3w.h>;
#include <gl3/gl3.h>;
#pragma comment(lib, "opengl32.lib");
| |
and add a .cpp file to the project, name it gl3w.cpp then copy all of the contents of gl3w.c to gl3w.cpp.
After that it worked.
Last edited on