glu.h no such file or directory

Dear All,

I am new to this CUDA on Linux. When I tried to run the make command in /root/NVIDIA_CUDA_SDK/ directory I got the following error.

In file included from ./…/common/inc/paramgl.h:13,
from src/paramgl.cpp:8:
./…/common/inc/GL/glut.h:60:20: error: GL/glu.h: No such file or directory
make[1]: *** [obj/release/paramgl.cpp_o] Error 1
make: *** [lib/libparamgl.so] Error 2

I googled and did not find any useful information. I have also installed the NVIDIA driver for OpenGL 3.0 (NVIDIA-Linux-x86-180.11.02-pkg1.run).

I am currently using the NVIDIA GPU - GeForce 9800 GT card. I am able to run the bandwidthTest sample without any issues.

Please let me know what am I missing here.

Thanks in advance.

With Regards,
Srinivas G

You need to install the freeglut development package for your distro.

By the way, I am using the CENTOS 5.2 (which is equivalent to RHEL).

Any help would be greatly appreciated.

Thanks and Regards,

Srinivas G

Thanks tmurray.

I have downloaded the freeglut RPM (from http://atrpms.net/dist/el3/freeglut/) and tried to install the RPM. However, it end up with the failed dependencies and the errors are as shown below.

warning: freeglut-devel-2.4.0-9.el3.at.i386.rpm: Header V3 DSA signature: NOKEY, key ID 66534c2b

error: Failed dependencies:

freeglut = 2.4.0-9.el3.at is needed by freeglut-devel-2.4.0-9.el3.at.i386

glib-devel is needed by freeglut-devel-2.4.0-9.el3.at.i386

libGLU-devel is needed by freeglut-devel-2.4.0-9.el3.at.i386

libXext-devel is needed by freeglut-devel-2.4.0-9.el3.at.i386

So, I need to install the remaining packages. I will try to download and install them.

Thanks for your suggestion.

With Regards,

Srinivas G

I have downloaded the above 3 devel packages and tried to install them on my Linux (CENTOS) box. However, I end up with the same errors like each devel package showed some dependency errors. So, I guess, this is not a correct solution. If I download and install the other dependencies, then they may ask for other dependencies.

Could any one please help in resolving the issue at my end?

Thanks in advance.

With Regards,

Srinivas G

ISSUE RESOLVED BY

By typing the following two commands at the command prompt of the Linux box.

yum install freeglut

#yum install freeglut-devel

Thanks to all.

With Regards,

Srinivas G