Advertisement

I need Help with my kDeveloper3

Started by November 24, 2002 07:51 PM
2 comments, last by supervil 22 years, 3 months ago
Im new in openGL & im practising it with my linux. I use my kdeveloper to compile a very simple code that use glut. It compiles fine but.... when i try to make it, the error apears: (i have translate it to english, you are right Reskless ;-) ) ______________________________________________________________ gmake all-recursive gmake[1]: Changing to folder `/home/miguel/codigo/prueba' Making all in prueba gmake[2]: Changing to folder `/home/miguel/codigo/prueba/prueba' gmake[2]: *** Theres is not any rule to build the `GL/glut.h', needed for `prueba'. Stop. gmake[2]: Exiting folder `/home/miguel/codigo/prueba/prueba' gmake[1]: Exiting folder `/home/miguel/codigo/prueba' gmake[1]: *** [all-recursive] Error 1 gmake: *** [all-recursive-am] Error 2 *** Failed *** ______________________________________________________________ I have my libraries in the path /usr/X11R6/include/GL I use mandrake 9.0. I dont know what its wrong, think i only needed put the libraries (gl.h, glu.h, glx.h, glut.h, ....) in the /GL but it doesnt works :[ Ill agree if someone could give me the solution. Thanks & sorry for my english supervil [edited by - Supervil on November 26, 2002 11:22:53 AM]
--> supervil <--
Hmm... I know it''s kind of easy to read, but just to help those with a less english experience, could you please provide a translation of the messages?

-ReK
Advertisement
Perhaps a stupid question, but have you ensured that "/usr/X11R6/include" (without "/GL") is in your include path?
KDevelop seems to want to link glide on my computer even though thats for only voodoo cards so I just manually compile it, one of these days Ill learn how to make make files. If you use glide and you dont need it it slows down your computer. Here is how to compile it manually

g++ main.cpp -B /usr/X11R6/lib -o programname -lX11 -lXi -lXmu -lglut -lGL -lGLU -lm -lpthread -Wno-deprecated

I use the latest version of g++ so the last three libs you might not need if your using an old version.
--------------------------Nukemmsn: nukem996@hotmail.comaim: nukem996open source open mind

This topic is closed to new replies.

Advertisement