Hello!
I attend a computergraphic class and have to some programming in OpenGL in c++. I tried to run my programm on my home pc (System: ubuntu) but the compiler gives me two errors:
g++ -Wall myProg.cpp -o runme -lglut -lGLU -lGLEW
(this is the way we compile it in class, and there it works)
/usr/bin/ld: /tmp/ccJmqaFS.o: undefined reference to symbol 'glClear'
and
//usr/lib/nvidia-331/libGL.so.1: error adding symbols: DSO missing from command line
I have searched for the errors in google quiete long, but without sucess, so I hope somebody has a hint for me.
(Glut und Glew is installed, direct rendering is working, glxgears also does what it should, i.e. shows the gears, rotating in different colors)
Thanks!
Roman