1 of 1 people found this helpful
Debian Linux is not a CodeXL supported platform so there are problems but I'll try to offer some work arounds
1: Are you using CodeXL 1.4? Using CodeXL 1.4 will eliminate the need for OpenCL libraries when debugging OpenGL applications.
2: Due to the nature of how the driver is installed try pointing the LIBGL_DRIVERS_PATH to a subfolder where libOpenGL/libOpenCL are installed. i.e if the folder is /usr/lib/x86_64-linux-gnu try setting to /usr/lib/x86_64-linux-gnu/testfolder (and of course make sure that the testfolder exists). If I remember correctly you can define in LIBGL_DRIVERS_PATH both path to your libOpenGL and libOpenCL separate the paths by ';'
Hope this helps
1. Yes, I am using version 1.4.
2. I found out that CodeXL writes a logfile. . Taking a look at CodeXLServer-xxx.log it appears that the OpenCL lib is being looked for in /usr/lib64/libOpencl.so(.1), no matter what i do with LIBGL_DRIVERS_PATH.
So I made a symlink there from /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 , and the problem is solved.
Also debugging of cl code works as fine as before.