PDA

View Full Version : OpenGL with Kdevelop



Aquileo
12-18-2003, 08:58 AM
I have Red Hat Linux 9 and I like programming OpenGL with KDevelop.

When I write a program and compile, I have a error for it don't find the library "glu32.h" and others. How can I put to link this libraries in KDevelop?

Thank you very much.
Aquileo.

dragonWh
12-19-2003, 06:21 AM
Try the orders:
>#qmake -project
>#qmake
and go into the Makefile created by qmake,add "-lGLU" to the end of "LIB=**".go on:
>#make
I think the qmake will hellp you find out the right path.

nexusone
12-19-2003, 07:54 AM
There is not a glu32.h it is glu.h which is a header file the same for windows.

In Linux the library files are lib<name>.so
The library for GLU is libGLU.so

In kDevelope look under project options, linker options: -lGL -lGLU


Originally posted by Aquileo:
I have Red Hat Linux 9 and I like programming OpenGL with KDevelop.

When I write a program and compile, I have a error for it don't find the library "glu32.h" and others. How can I put to link this libraries in KDevelop?

Thank you very much.
Aquileo.