sudo aptitude install freeglut3 freeglut3-dev
This will install the OpenGL header files to /usr/include/GL/
And the library objects to /usr/lib/libglut.a
With all that taken care of now you just need a quick sample app to see if it worked, I googled "glut hello world" and this was the second result.
I needed to add "#include
g++ helloworld.cpp -lglut
That's it, now you're ready to figure out something cool to make.

0 comments:
Post a Comment