How add GLFW to linker arguments

Hi, i am triying to link the GLFW lib with g++ but throw the next error “undefined reference to `glfwTerminate’” and so on with the rest of the functions

si alguien me pudiera ayudar

$COMPILER_FLAGS = “-Iexternal/include”



The documentation on building applications with GLFW may be helpful:

If you are using MinGW see the section on building applications with MinGW-w64 and GLFW binaries.

Alternatively try this CMAKE GLFW starter: