I have downloaded mali development kit and cross build the program for firefly from eclipse . Program build in eclipse successfully.
I also move libOpenCL.so to firefly kit. But when I am going to run the program on Linux it gives an error liOpenCL.so not found.
How to solve this OR How to install OpenCL driver for linux ?
First of all it’s “libOpenCL.so”.
I don’t know for certain in your case, but I’d install or build from the source mesa.
On my Gentoo AMD system lib OpenCl.so is at /usr/lib64/OpenCL/vendors/mesa/libOpenCL.so .
I Can switch is to the ocl-icd version at /usr/lib64/OpenCL/vendors/ocl-icd/libOpenCL.so .
Ocl-icd at: http://forge.imag.fr/projects/ocl-icd/
Mesa at: https://www.mesa3d.org/
If you can ls(1) those files, or locate them with, say, find(1), like this:
find /usr/lib* -name libOpenCL.so
then your problem is in the application that is not properly linked against libOpenCL.so .
You may also need to link the libOpenCL.so and other related ones to someplace else using your distro’s cool tools (you did not mention what distro you are using, so I don’t know what tools you’d need or use).
If you have another issue, such as loading them then that points to something else.
All this being said, I really am not certain what your exact error is because you did not provide the command and it’s output, just a truncated error message. I’m assuming that you got error 2, which reads something like:
Cannot load libOpenCl.so: No such file or Directory.
Hola, es verdad que sin el registro de errores completo es casi imposible adivinar qué está fallando en la consola de comandos. Yo pasé todo el fin de semana lidiando con errores de servidor similares y terminé tan estresado que necesitaba apagar el cerebro un rato. Un conocido me pasó el dato de https://royals-tiger.es/ y aproveché los bonos para usuarios de España que tienen activos para probar suerte. Empecé con una racha de pérdidas bastante mala y ya estaba por darme por vencido tras varios intentos frustrados. Sin embargo, decidí arriesgar un poco más en una última partida y gané un premio que me devolvió toda la motivación de golpe.