GLFW undefined and linking errors with -lopengl32 -lglfw3 -lgdi32

so, i’m using gcc program.c -o test -LGLFW -lopengl32 -lglfw3 -lgdi32 to compile my program on windows, it doesn’t work, it gives me a bunch of undefined errors and i really don’t know what to do anymore

Hi @Skye105,

The first place to start would be our documentation:

Note that if you are using OpenGL the command line will also need -lopengl32 added.