Setting up OpenGL NetBeans project with GLFW on Ubuntu

前端 未结 1 1809
一整个雨季
一整个雨季 2021-01-20 02:28

I am trying to setup OpenGL developing environment on Ubuntu.I installed all the libs including GLFW as I don\'t want to use GLUT.GLEW lib has been installed too.I am trying

相关标签:
1条回答
  • 2021-01-20 02:56

    I figured out the solution.For those interested: Openg Project properties.Then "Linker" ->"Libraries". In the Libraries dialog: Click "Add Option" -> "Other Option". In the textfield insert these params:

    -lGLEW -lglfw -lGL -lGLU -lX11 -lpthread -lXxf86vm -lm

    I guess lGLU is needed only if you use the old OpenGL version.

    0 讨论(0)
提交回复
热议问题