View Full Version : OpenGL wont work in linux w/ or w/o an editor
nukem
03-27-2002, 02:25 PM
i am pretty new at linux. but im pretty good at c++. i would really like to be able to program some OpenGL games on linux. but i cannt get OpenGL to work. no matter what i do there are errors and warnings because i dont have something. ive installed everything but still it dose not work.
it gives me errors about glu.h and that i dont have any of the X11 files.
Can you plz help me get OpenGL to work on linux? or point me into a good direction?
http://www.tuxedo.org/~esr/faqs/smart-questions.html
satan
03-28-2002, 12:28 AM
Originally posted by rts:
http://www.tuxedo.org/~esr/faqs/smart-questions.html
yeah, best direction to be pointed to http://www.opengl.org/discussion_boards/ubb/smile.gif
scriptlord
04-13-2002, 07:04 PM
All you have to do is when you compile it using g++ type:
g++ program.c -o program -lGL -lGLU -lm
-lglut
this should make your program work, you might not need -lglut
nukem
04-13-2002, 07:37 PM
thx man i feel like such an idiot.
nukem
04-14-2002, 10:19 AM
ummm i did the linking thing and it still dosnt work. http://www.opengl.org/discussion_boards/ubb/frown.gif. do u hav any idea whats wrong?
Originally posted by nukem:
ummm i did the linking thing and it still dosnt work. http://www.opengl.org/discussion_boards/ubb/frown.gif. do u hav any idea whats wrong?
I really, really, really urge you to read http://www.tuxedo.org/~esr/faqs/smart-questions.html
before posting again.
Really.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.