Compiling with g ++

1

I am compiling a sample code provided on the GLFW bookstore website as follows: g++ main.cpp -o main.exe glfw3dll.a

asked by anonymous 25.07.2015 / 12:16

1 answer

1

You can not link using the -l flag because the library name should be libglfw3dll.a .

As I mentioned in one of my old posts it is mandatory to have lib in the name.

    
25.07.2015 / 16:06