pavsa / hackrf-spectrum-analyzer

GNU General Public License v3.0
645 stars 97 forks source link

Cannot launch software (Ubuntu) #34

Open BrunoKlu opened 3 years ago

BrunoKlu commented 3 years ago

Hello,

I'm trying to launch the software with

build/hackrf_sweep_spectrum_analyzer.sh

but it keeps saying this,

Linux:~$ build/hackrf_sweep_spectrum_analyzer.sh bash: build/hackrf_sweep_spectrum_analyzer.sh: Aucun fichier ou dossier de ce type

Any Help ?

Thanks a lot

Bruno

hzmeister commented 2 years ago

In case anyone else is having a problem running hackrf-spectrum-analyzer on ubuntu or linux mint(I'm running 20.3) this is how I got it to work:

First run this command: sudo apt install hackrf

Download the hack-rf-spectrum-analyzer.zip file and extract it. Navigate to the lib folder and change the permissions of the .jar file to allow executing file as program. Run the hackrf_sweep_spectrum_analyzer.jar directly instead of the sh file.

It should work, but if it doesn't work then run this command: apt install build-essential cmake libfftw3-dev libusb-1.0-0-dev pkg-config

It worked as soon as I plugged it into my laptop without needing to mess with usb permissions like the author mentioned in the readme.