GLFW Undefined References

前端 未结 4 1034
刺人心
刺人心 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 23:09

    Don't you have to link the OpenGL libs as well? I don't see libGL or libGLU. I know glClear is in either libGL or libGLU.

提交回复
热议问题