I have a serious setup problem!
I downloaded the 3.2.1 Win32 binaries and tried compiling the “Hello World” example (from the Documentation front page).
This was compiled and linked with gcc 5.3.
The test program calls glfwInit() ok, but crashes with an access violation when it calls gflwCreateWindow.
/* Initialize the library */ if (!glfwInit()) return -1;
/* Create a windowed mode window and its OpenGL context */ window = glfwCreateWindow(640, 480, "Hello World", NULL, NULL);
Compile & link (from CMD window):
gcc -c Test.c -o Test.o
gcc -o Test.exe Test.o GLFW3.dll OpenGL32.dll
Can anybody help?