Closed Mas313 closed 1 month ago
Can you elaborate? What file is not compatible? Do you encounter this while compiling or while running? What commands did you try?
I guess it would be a problem that you didn't use a sysroot. And I'd use cmake's toolchain option.
There are PlutoSDR binaries for SoapySDR, rtl_433 and some tools available here: https://github.com/triq-org/PlutoSDR-Apps/ -- and you can see an example cross compile setup.
I got this error
CMake Warning at CMakeLists.txt:14 (find_package): Could not find a configuration file for package "SoapySDR" that is compatible with requested version "".
The following configuration files were considered but not accepted:
/usr/local/share/cmake/SoapySDR/SoapySDRConfig.cmake, version: 0.8.1-unknown (64bit)
CMake Error at CMakeLists.txt:16 (message): Soapy SDR development files not found...
-- Configuring incomplete, errors occurred!
Seems like you are missing a sysroot with cross-compiled SoapySDR.
I have added path to SoapySDR lib that has been succesfully built for arm, but still i get error -D CMAKE_LIBRARY_PATH=/home/csg/masood/pluto-0.30.sysroot/usr/lib/SoapySDR \
Adding a lib path might not suffice, I still recommend a full sysroot with all the support files like pkgconfig and such. Look into cmake toolchains, e.g. https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-linux
When compiling for pluto arm processor I get error that soapysdr configuration file is not compatible. Although SoapySDR for arm has been built successfully. For building SoapyPlutoSDR I used following commands