How to compile and run on fedora 12?

g++ c.cpp -o c
I got undefined reference to `glClear’ etc .

u must link ur program to opengl lib.
g++ c.cpp -lGL -o c

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.