cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

ggshen
Journeyman III

glu.h is missing?

Hi, I am new to AMD openCL. I just installed AMD-APP-SDK-v2.7 on ubuntu 12.04. When I build the samples, the "GL/glu.h" is missing:

Building build/debug/x86_64//BoxFilterGL.o

g++  -Wpointer-arith   -Wfloat-equal -g3 -ffor-scope   -I  ../../../../../samples/opencl/SDKUtil/include -I  "/include"  -I  ../../../../../include  -o build/debug/x86_64//BoxFilterGL.o -c  BoxFilterGL.cpp

In file included from CommonDeclare.hpp:21:0,

                 from BoxFilterGLSAT.hpp:95,

                 from BoxFilterGL.cpp:93:

../../../../../include/GL/glew.h:1138:20: fatal error: GL/glu.h: No such file or directory

compilation terminated.

There is a "GLU.h" under "/opt/AMDAPP/include/GL" directory. Is the file name supposed to be in lower case? After changing that to lower case, there is another "gl.h" missing.

Does this AMD-APP require something more on ubuntu?

Thanks.

0 Likes
3 Replies
ggshen
Journeyman III

Re: glu.h is missing?

Got it fixed. Need to install libglu1-mesa-dev. 🙂

sarobi
Adept III

Re: glu.h is missing?

Unfortunately it didn't do the trick for me, I have the same issue...

0 Likes
sarobi
Adept III

Re: glu.h is missing?

Oh well, I just had to install freeglut-devel (opensuse 12.3).

0 Likes