Sec42 / sec-gr

Recipes for PyBombs
4 stars 2 forks source link

pybombs install soapyhackrf soapyrtlsdr Fails #1

Open jamiezorin opened 3 years ago

jamiezorin commented 3 years ago

Ubuntu 18.04

Cloning into 'rtl-sdr'... Configuring: (100%) [=========================================================] Building: (100%) [=========================================================] [ 3%] Building C object src/CMakeFiles/rtlsdr.dir/librtlsdr.c.o /home/jdomenic/GR/src/rtl-sdr/src/librtlsdr.c:30:10: fatal error: libusb.h: No such file or directory

include

      ^~~~~~~~~~

compilation terminated. src/CMakeFiles/rtlsdr.dir/build.make:62: recipe for target 'src/CMakeFiles/rtlsdr.dir/librtlsdr.c.o' failed make[2]: [src/CMakeFiles/rtlsdr.dir/librtlsdr.c.o] Error 1 CMakeFiles/Makefile2:213: recipe for target 'src/CMakeFiles/rtlsdr.dir/all' failed make[1]: [src/CMakeFiles/rtlsdr.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 [ERROR] Build failed. See output above for error messages. [ERROR] Problem occurred while building package rtl-sdr: Build failed. [ERROR] Error installing package rtl-sdr. Aborting. jdomenic@OptiPlex-990:~/GR$

Sec42 commented 3 years ago

Hi,

interesting. Seems you lack the libusb headers.

Can you see if an "apt-get install libusb-dev" solves that problem for you?