OpenGL with Kdevelop

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.

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.

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:
[b]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.[/b]

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