I am trying to compile a program using GLFW as static library. I am sure that I have linked everything properly, because other GLFW functions do not throw any error. These are only functions using GLFWwindow* as a parameter. For example:
glfwMakeContextCurrent(window); //window is a pointer of type GLFWwindow
Error: Invalid arguments ' Candidates are: void glfwMakeContextCurrent(*)'
This throws me an error. The argument window is invalid. Other functions which expect a pointer to a GLFWwindow also throw errors. But the rest, functions without GLFWwindow* as expected argument compile and work just fine.
I am using MinGW32, Eclipse CDT, Win7. (I am sure that I use the 32bit GLFW)
What could be the reason, why he is not accepting my pointer?
P.S.: eclipse compiles glfwMakeContextCurrent(0); and as hint when I hover the line with the error it shows me glfwMakeContextCurrent(*); <- no type, just an asterisk