Our current SDR online list: https://list.websdr.fun Paul has done a good job to list them (almost) all. The old ones keep working for some time, but links will be stopped at some point.

Opencl on Archlinux (wrong opencl.hpp file)

Started by linkz, Sep 03, 2024, 10:57 PM

Previous topic - Next topic

linkz

In my daily Archlinux setup I had issues compiling spectrumserver with opencl feature, It took me a few hours to find the solution...
All necessary packages were installed normally with the pacman package manager, up-to-date of course.
Except clFFT or clFFT-git installed using the AUR way

But many compilation errors around "c::" entries, apparently not declared so compilation just stop.

----
The problem was an OpenCL API binding file, which was obsolete: opencl.hpp

If that can help people, the up-to-date file is available on github

It has to be located in /usr/include/CL

You may also need clBLAS.h in /usr/include


PS: I'm using Nvidia GTX-970 video card in the machine running PhantomSDR-Plus

Regards
linkz

Powered by EzPortal