Free Pascal, OpenCL and NVIDIA WORKS! lazarus / 64-FPC development ---------------------------------------------------------------------- schuler · 2018-07-23 05:48 Hi, I'm able to compile and run OpenCL + NVIDIA + Ubuntu 18.04 under Lazarus. This is what I did: apt-get install nvidia-384 nvidia-opencl-icd-384 clinfo After installing, reboot your machine. I tried first to download drivers from nvidia website but my VM crashed hard when installing these drivers and I had to trash the VM. Therefore, I think that it's easier to just install plain ubuntu packages above. Then, I did a hack: cd /usr/lib/x86_64-linux-gnu ln -s libOpenCL.so.1.0.0 libOpenCL.so Question: is there a better alternative than the hack (ln -s) above? ---------------------------------------------------------------------- Laksen · 2018-07-23 10:24 I'm not certain but usually you would need to install a loader component like it sounds like the "ocl-icd-opencl-dev" package is. That will at least create an entry with that name, that I guess will load the appropriate libOpenCL.so*** file ---------------------------------------------------------------------- schuler · 2019-03-18 08:29 @Laksen Just tested installing "sudo apt-get install ocl-icd-opencl-dev" and it works without having to do the hack "ln -s libOpenCL.so.1.0.0 libOpenCL.so". Tested on Ubuntu 18.04 with NVIDIA GT 730. Thank you!