Hi guys,
i tried to install the Stream SDK on my Ubuntu machine, but when i runnig the comand make i got an error:
../../../../../include/GL/glew.h:1138:20: error: GL/glu.h: No such file or directory
../../../../../include/GL/glut.h:62:19: error: GL/gl.h: No such file or directory
When i look into the include/GL directory from the source i can not find the 2 files!
I am using:
I followed this tutorial
I "just" want to run some openCL code with my linux-pc
linux:~/Desktop/ati-stream-sdk-v2.2-lnx64$ make make -C samples make[1]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples' make -C opencl make[2]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl' make -C SDKUtil make[3]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/SDKUtil' install -D build/debug/x86_64/libSDKUtil.a ../../../TempSDKUtil/lib/x86_64/libSDKUtil.a make[3]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/SDKUtil' make -C cl make[3]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl' make -C app make[4]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app' make -C AESEncryptDecrypt make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/AESEncryptDecrypt' install -D build/debug/x86_64/AESEncryptDecrypt ../../../../../samples/opencl/bin/x86_64/AESEncryptDecrypt for f in AESEncryptDecrypt_Kernels.cl; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done for f in input512.bmp; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/AESEncryptDecrypt' make -C BinarySearch make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BinarySearch' install -D build/debug/x86_64/BinarySearch ../../../../../samples/opencl/bin/x86_64/BinarySearch for f in BinarySearch_Kernels.cl; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BinarySearch' make -C BinomialOption make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BinomialOption' install -D build/debug/x86_64/BinomialOption ../../../../../samples/opencl/bin/x86_64/BinomialOption for f in BinomialOption_Kernels.cl; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BinomialOption' make -C BitonicSort make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BitonicSort' install -D build/debug/x86_64/BitonicSort ../../../../../samples/opencl/bin/x86_64/BitonicSort for f in BitonicSort_Kernels.cl; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BitonicSort' make -C BlackScholes make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BlackScholes' install -D build/debug/x86_64/BlackScholes ../../../../../samples/opencl/bin/x86_64/BlackScholes for f in BlackScholes_Kernels.cl; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BlackScholes' make -C BoxFilter make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BoxFilter' install -D build/debug/x86_64/BoxFilter ../../../../../samples/opencl/bin/x86_64/BoxFilter for f in BoxFilterSeparable_Kernels.cl BoxFilterSAT_Kernels.cl; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done for f in BoxFilter_Input.bmp; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BoxFilter' make -C BoxFilterGL make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BoxFilterGL' mkdir -p build/debug/x86_64/ Building build/debug/x86_64//BoxFilterGL.o g++ -Wfloat-equal -Wpointer-arith -DATI_OS_LINUX -g3 -ffor-scope -I ../../../../../include -I ../../../../../samples/opencl/SDKUtil/include -o build/debug/x86_64//BoxFilterGL.o -c BoxFilterGL.cpp In file included from BoxFilterGLSAT.hpp:105, from BoxFilterGL.cpp:93: ../../../../../include/GL/glew.h:1138:20: error: GL/glu.h: No such file or directory In file included from BoxFilterGLSAT.hpp:107, from BoxFilterGL.cpp:93: ../../../../../include/GL/glut.h:62:19: error: GL/gl.h: No such file or directory make[5]: *** [build/debug/x86_64//BoxFilterGL.o] Fehler 1 make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BoxFilterGL' make[4]: *** [BoxFilterGL] Fehler 2 make[4]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app' make[3]: *** [app] Fehler 2 make[3]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl' make[2]: *** [cl] Fehler 2 make[2]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl' make[1]: *** [opencl] Fehler 2 make[1]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples' make: *** [samples] Fehler 2 philipp@philipp-linux:~/Desktop/ati-stream-sdk-v2.2-lnx64$ make make -C samples make[1]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples' make -C opencl make[2]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl' make -C SDKUtil make[3]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/SDKUtil' install -D build/debug/x86_64/libSDKUtil.a ../../../TempSDKUtil/lib/x86_64/libSDKUtil.a make[3]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/SDKUtil' make -C cl make[3]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl' make -C app make[4]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app' make -C AESEncryptDecrypt make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/AESEncryptDecrypt' install -D build/debug/x86_64/AESEncryptDecrypt ../../../../../samples/opencl/bin/x86_64/AESEncryptDecrypt for f in AESEncryptDecrypt_Kernels.cl; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done for f in input512.bmp; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/AESEncryptDecrypt' make -C BinarySearch make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BinarySearch' install -D build/debug/x86_64/BinarySearch ../../../../../samples/opencl/bin/x86_64/BinarySearch for f in BinarySearch_Kernels.cl; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BinarySearch' make -C BinomialOption make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BinomialOption' install -D build/debug/x86_64/BinomialOption ../../../../../samples/opencl/bin/x86_64/BinomialOption for f in BinomialOption_Kernels.cl; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BinomialOption' make -C BitonicSort make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BitonicSort' install -D build/debug/x86_64/BitonicSort ../../../../../samples/opencl/bin/x86_64/BitonicSort for f in BitonicSort_Kernels.cl; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BitonicSort' make -C BlackScholes make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BlackScholes' install -D build/debug/x86_64/BlackScholes ../../../../../samples/opencl/bin/x86_64/BlackScholes for f in BlackScholes_Kernels.cl; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BlackScholes' make -C BoxFilter make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BoxFilter' install -D build/debug/x86_64/BoxFilter ../../../../../samples/opencl/bin/x86_64/BoxFilter for f in BoxFilterSeparable_Kernels.cl BoxFilterSAT_Kernels.cl; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done for f in BoxFilter_Input.bmp; do \ install -D $f ../../../../../samples/opencl/bin/x86_64/$f; \ done make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BoxFilter' make -C BoxFilterGL make[5]: Betrete Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BoxFilterGL' mkdir -p build/debug/x86_64/ Building build/debug/x86_64//BoxFilterGL.o g++ -Wfloat-equal -Wpointer-arith -DATI_OS_LINUX -g3 -ffor-scope -I ../../../../../include -I ../../../../../samples/opencl/SDKUtil/include -o build/debug/x86_64//BoxFilterGL.o -c BoxFilterGL.cpp In file included from BoxFilterGLSAT.hpp:105, from BoxFilterGL.cpp:93: ../../../../../include/GL/glew.h:1138:20: error: GL/glu.h: No such file or directory In file included from BoxFilterGLSAT.hpp:107, from BoxFilterGL.cpp:93: ../../../../../include/GL/glut.h:62:19: error: GL/gl.h: No such file or directory make[5]: *** [build/debug/x86_64//BoxFilterGL.o] Fehler 1 make[5]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app/BoxFilterGL' make[4]: *** [BoxFilterGL] Fehler 2 make[4]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl/app' make[3]: *** [app] Fehler 2 make[3]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl/cl' make[2]: *** [cl] Fehler 2 make[2]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples/opencl' make[1]: *** [opencl] Fehler 2 make[1]: Verlasse Verzeichnis '/home/philipp/Desktop/ati-stream-sdk-v2.2-lnx64/samples' make: *** [samples] Fehler 2
install package mesa-common-dev
i had do it can not work right why
Welcome to nfljerseyswebsale.com to buy cheap nfl jerseys
liyucmh what are you talking about? You are not even making sence apart from posting irrelevant information and links. Learn english first!
ready_go,
Do you find GL folder in the /include folder in ati streamSDK folder?
@himanshu.gautam:
Yes i can find the folder:
@nou
Yes i installed the package mesa-common-dev
and your Ubuntu packages with ATI Stream SDK 2 for download.
ati-stream-sdk-v2.2-lnx64$ tree include/ include/ |-- calcl.h |-- cal_ext_counter.h |-- cal_ext_d3d10.h |-- cal_ext_d3d9.h |-- cal_ext.h |-- cal.h |-- CL | |-- cl_d3d10.h | |-- cl_ext.h | |-- cl_gl_ext.h | |-- cl_gl.h | |-- cl.h | |-- cl.hpp | |-- cl_platform.h | `-- opencl.h `-- GL |-- glew.h |-- glext.h |-- glut.h |-- glxew.h `-- wglew.h 2 directories, 19 files
for GL/glu.h you must install libglu1-mesa-dev
I had this issue too. The funny thing about installing the SDK is that it requires OpenGL to completely install the entire package. If you are just using the OpenCL tools you can go down the directory tree to the OpenCL folder and there is a Makefile there.
I found that if you just want to install the entire package run this first:
sudo apt-get install freeglut3-dev
Hi blrg891,
I have a question if you are asking about linux then what do you mean by installing ati stream sdk?. It is a tar package you just need to extract it, it is not a rpm package so don't need to install. I have tried it & i don't need any freeglut3-dev package to run samples.
Well it is a tar file, but within it is a Makefile, which builds all of the samples in the STREAM SDK. So, in order to install you must make the Makefile, but he is having issues when it compiles everything under the directory tree. So the things that compile are related to OpenCL OpenGL and CAL. So, the problem he is having when making the entire SDK is that the OpenGL Libraries are missing because there is a portion of the STREAM SDK that uses them.