Error compiling glfw

Hi @xxidk82xx,

Welcome to the GLFW forum!

See my reply here to another post on compiling with MinGW.

In short you need to link with the glfw3 library, and since you are using OpenGL you also need to link against opengl32.lib, you may also need to link against other Windows libraries explicitly as per the GLFW documentation.

To link a library with g++ this guide might be helpful.