View Full Version : Error link the library GLFW

Lord Fers
05-29-2015, 01:40 PM
Hi, sorry for my bad English, I was coding many graphics engines either with DirectX or OpenGL, but now wanted to try GLFW and when link library recognize me, even recognizes the header.

When I turn to compile the project, the following appears:
undefined reference to `glfwInit '
undefined reference to `glfwCreateWindow '

And other methods.

How could I fix this? I guess the question should be:
The contents of the library GLFW is faulty, another idea I can think and I tried with different compilers and nothing happens.

(My IDE is Code :: Blocks)

Thank you, bye.

EDIT: (I'm compiling with MinGW.)