OpenGL Discussion and Help Forums
>
DEVELOPERS
>
OpenGL on Linux
> How to compile and run on fedora 12?
PDA
View Full Version :
How to compile and run on fedora 12?
openglfirst
01-19-2010, 08:03 AM
g++ c.cpp -o c
I got undefined reference to `glClear' etc .
Abdallah DIB
01-19-2010, 09:30 AM
u must link ur program to opengl lib.
g++ c.cpp -lGL -o c
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.