Closed bluegizmo83 closed 5 years ago
Welcome back :smile:
I think both of your issues are caused by the same problem:
So just go to Edit -> Options -> Device and switch to native backend for your SDR.
Thanks! I'm trying to point it to the dir with all the lib files for the sdr's and then hitting rebuild, but it keeps through an error saying "failed to rebuild 5 device extensions", and the log says this:
Found airspy lib. Will compile with native airspy support Found bladeRF lib. Will compile with native bladerf support API version check failed: command 'cc' failed with exit status 1 Detected BLADERF_API_VERSION v0.0 Found hackrf lib. Will compile with native hackrf support Skipping native support for limesdr Found rtlsdr lib. Will compile with native rtlsdr support Found uhd lib. Will compile with native usrp support Skipping native support for sdrplay [1/5] Cythonizing /usr/local/lib/python3.6/dist-packages/urh/dev/native/lib/airspy.pyx [2/5] Cythonizing /usr/local/lib/python3.6/dist-packages/urh/dev/native/lib/bladerf.pyx [3/5] Cythonizing /usr/local/lib/python3.6/dist-packages/urh/dev/native/lib/hackrf.pyx [4/5] Cythonizing /usr/local/lib/python3.6/dist-packages/urh/dev/native/lib/rtlsdr.pyx [5/5] Cythonizing /usr/local/lib/python3.6/dist-packages/urh/dev/native/lib/usrp.pyx running build_ext building 'urh.dev.native.lib.airspy' extension x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.6m -c /usr/local/lib/python3.6/dist-packages/urh/dev/native/lib/airspy.cpp -o /tmp/usr/local/lib/python3.6/dist-packages/urh/dev/native/lib/airspy.o /usr/local/lib/python3.6/dist-packages/urh/dev/native/lib/airspy.cpp:599:10: fatal error: libairspy/airspy.h: No such file or directory
^~~~~~~~~~~~~~~~~~~~
compilation terminated. warning: urh/dev/native/lib/chackrf.pxd:85:28: 'hackrf_device_list' redeclared error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
You are missing the airspy.h file. Assuming that you are using ubuntu, did you install the libairspy-dev
package?
Edit: Just saw, that you are using Parrot OS. Not sure about that, but in doubt you can simply get the airspy.h file e.g. from here and place it in /usr/include
or something like that.
I am closing here due to missing response. Just drop a comment if you want this issue reopened.
Hi, I'm back again lol :)
I just installed URH on my Linux system (Parrot OS), and I have two issues with it so far. I installed it via sudo pip3 install urh, and then also tried updating via pip3 install --upgrade urh.