Closed nospam2000 closed 2 years ago
using the following command, the installation succeeds:
sudo -H BLADERF_API_VERSION=2.41 SDRPLAY_API_VERSION=2.13 pip-3.10 install urh
For a user of pip
is it not really intuitive to set the API versions of the components as environment variables, the versions should be automatically be detected from the installed header files.
Expected Behavior
Build and installation should work on MacOS.
Actual Behavior
The build fails because the datatypes of the parameter 3 for bladerf_get_frequency() doesn't match the prototype in the header /opt/local/include/libbladeRF.h.
The type of
bladerf_frequency
should beunsigned long long *
but it actually isunsigned int *
Probably the following lines (from here) do not work like intended and it chooses the ELSE path instead of the IF path:
In /opt/local/include/libbladeRF.h LIBBLADERF_API_VERSION is defined as int32:
The version 2.4.1 should be detected as newer than 1.9.1. I haven't understood where that floating point number gets derived from the original integer number. Maybe the problem is, that 1.91 is not the same as 1.9.1 or that the mechanism for creating the floating point version number doesn't work correctly.
Steps To Reproduce
Screenshots
Platform Specifications