GLFW Undefined References

前端 未结 4 1028
刺人心
刺人心 2021-01-13 22:44

I\'m trying to use GLFW on a project, but when I compile it, I get a lot of undefined reference errors, while many of them is on the library file (libglfw.a). I tried both,

4条回答
  •  一生所求
    2021-01-13 22:56

    In the linker, at Windows, MinGW: -lglew32 -lglfw3 -lopengl32 -lglu32 -lgdi32

    Put the libs and the includes files in MinGW and the dlls and exes at Windows systems folders.

提交回复
热议问题