I am using SuSE 8.2 and have installed mesaglu-devel,mesaglut-devel and mesa-devel libraries. But when I compile a simple program by gcc -o Hello_World Hello_World.cpp -lX11 -lMesaGL -lMesaGLU -lMesatk -lm, following errors are informed:
/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
Anyone can suggest some reasons and how to deal with it.
Another question is whether I have to use a text editor like gVIM to implement OpenGL or any other platform.
Thanks a lot.



