Setup up GLUT projects in Codeblocks (Ubuntu 12.04)

后端 未结 5 1803
无人共我
无人共我 2021-01-03 03:33

I installed the freeglut3 and freeglut3-dev by apt-get. I want to create a OPENGL GLUT Project in Codeblocks. I was asked the GLUT\'s location and I entered \"/usr\" as I fo

5条回答
  •  情书的邮戳
    2021-01-03 03:48

    I have also faced the same problem. But I solve the problem Without creating the project and run the GLUT program. For that go to compiler and debugger setting and in linker tab and link library libGL.so , libGLU.so, libglut.so form directory usr/lib by pressing add button. Now you can include glut.h header and run the project.

提交回复
热议问题