PDA

View Full Version : openGL in linux



malafe
06-01-2001, 08:29 AM
I am using SUSE Linux. I want to know how to compile programs using openGL and GLUT.
thanks.

grady
06-01-2001, 10:29 AM
do you have an nvidia card?

try g++ program.cpp -lGL -lGLU -lglut -o program

MrShoe
06-02-2001, 02:03 AM
or gcc instead of g++, depends on whether its c or c++