PDA

View Full Version : How to compile and run on fedora 12?



openglfirst
01-19-2010, 09:03 AM
g++ c.cpp -o c
I got undefined reference to `glClear' etc .

Abdallah DIB
01-19-2010, 10:30 AM
u must link ur program to opengl lib.
g++ c.cpp -lGL -o c