4 Replies Latest reply on Aug 19, 2013 11:54 AM by sarobi

    glu.h is missing?

    ggshen

      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.