I am struggling with creating a window with the GLFW 3 function, glfwCreateWindow. I installed an error callback function that pretty much just prints the error number and description, and according to this, the GLFW library was not initialized, although the glfwInit function just returned success?
Here is an example from my code
But what is printed in the console
INITIALIZER: GLFW Initialized succesfully! 65537 The GLFW library is not initialized INITIALIZER: Failed to create window!
I think that I am getting an error due to the fact that the setting is not entirely correct, but I did everything I could with what I could find in the place.
I downloaded Windows 32 from glfw.org and stuck in 2 files from it to minGW / include / GLFW, files 2.a (from the lib-mingw folder) to minGW / lib and the DLL, also from the lib-mingw folder, on Windows / System32
In code :: blocks, I have, from the assembly settings → the linker settings, connected to the 2..a files from the download. I believe I need to connect more things, but I can understand what, or where I should get these things.
source share