You misunderstood me.
I’m saying if you have Dependencies\glfw\lib-mingw\libglfw3.a
argument there, then there is no need for -lglfw3
. But you have both of them.
So this is incorrect:
gcc main.c Dependencies\glfw\lib-mingw\libglfw3.a -lglfw3 -lopengl32 -lkernel32 -luser32 -lgdi32 -lws2_32
But this is correct:
gcc main.c Dependencies\glfw\lib-mingw\libglfw3.a -lopengl32 -lkernel32 -luser32 -lgdi32 -lws2_32