Re: gr-fosphor : New RTSA-like visualization block for GNURadio using GPU acceleration

Any ideas as to why cmake is not finding the CL libraries on my
machine; Fedora 19 x64?

Could NOT find OpenCL (missing: OPENCL_LIBRARIES)
CMake Error at CMakeLists.txt:104 (message):
OpenCL required to compile gr-fosphor

I have added the following environment
variables with no luck:

export OPENCL_INCLUDE_DIR=/usr/include/CL
export OPEN_CPP_INCLUDE_DIR=/usr/include/CL
export OPENCL_LIBRARY=/usr/lib64/nvidia

It looks like everything is there:

ls /usr/include/CL/
cl_d3d10.h cl_dx9_media_sharing.h cl_gl_ext.h cl.h cl_platform.h
cl_d3d11.h cl_ext.h cl_gl.h cl.hpp opencl.h

ls /usr/lib64/nvidia/
libcuda.so.1 libnvidia-ifr.so.325.15
libcuda.so.325.15 libnvidia-ml.so.1
libGL.so.1 libnvidia-ml.so.325.15
libGL.so.325.15 libnvidia-opencl.so.1
libnvcuvid.so.1 libnvidia-opencl.so.325.15
libnvcuvid.so.325.15 libnvidia-tls.so.1
libnvidia-cfg.so.1 libnvidia-tls.so.325.15
libnvidia-cfg.so.325.15 libnvidia-vgxcfg.so
libnvidia-compiler.so.1 libnvidia-vgxcfg.so.1
libnvidia-compiler.so.325.15 libnvidia-vgxcfg.so.325.15
libnvidia-encode.so.1 libOpenCL.so.1
libnvidia-encode.so.325.15 libOpenCL.so.1.0.0
libnvidia-glcore.so.1 tls
libnvidia-glcore.so.325.15 xorg
libnvidia-ifr.so.1

On 10/29/2013 07:22 PM, Louis B. wrote:

export OPENCL_INCLUDE_DIR=/usr/include/CL
export OPEN_CPP_INCLUDE_DIR=/usr/include/CL
export OPENCL_LIBRARY=/usr/lib64/nvidia

Try passing in the full path to libOpenCL.so to cmake:

-DOPENCL_LIBRARY=/path/to/libOpenCL.so

-josh

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs