i am pretty new at linux. but im pretty good at c++. i would really like to be able to program some OpenGL games on linux. but i cannt get OpenGL to work. no matter what i do there are errors and warnings because i dont have something. ive installed everything but still it dose not work.
it gives me errors about glu.h and that i dont have any of the X11 files.
Can you plz help me get OpenGL to work on linux? or point me into a good direction?
All you have to do is when you compile it using g++ type:
g++ program.c -o program -lGL -lGLU -lm
-lglut
this should make your program work, you might not need -lglut