hackrf-spectrum-analyzer
hackrf-spectrum-analyzer copied to clipboard
SA Can Run on Windows 10 with HackRF One Firmware 2021.03.1
I am successfully running Spectrum Analyzer on Windows 10 containing an NVIDIA GeForce GTX 1650 SUPER display adapter connected to a HackRF One that is utilizing firmware 2021.03.1 and with the addon NooElec TCXO Module.
I downloaded Spectrum Analyzer's 'git clone'. I also copied and updated the source of the 3 files that the user "avian2" modified to get Spectrum Analyzer to work with HackRF utilizing firmware 2021.03.1.
https://github.com/avian2/hackrf-spectrum-analyzer/commit/2d71393ea62096cd02b87483da3ffe9805298d26
The compilation succeeded but failed to execute on my Windows 10 due to a JRE version issue.
For Windows 10, one more file requires modification for Windows 10 JRE Version 55.
Line 14 of /src/hackrf_sweep/hackrf_sweep_spectral_analyzer_buildjar_ant.xml needs one line modified:
OLD: <javac srcdir="../src-java" destdir="../bin">
NEW: <javac target="1.8" srcdir="../src-java" destdir="../bin">
Additionally: Library 'libusb-1.0' is not available for LinuxMint 20.2 but 'libusb-1.0-0' is.
The "Building" section on the Main Page should be changed:
sudo apt install build-essential ant git libusb-1.0-0 libfftw3-bin libfftw3-dev default-jdk mingw-w64
I compiled everything on Linux Mint 20.2.
Now with the Latest and Greatest of Everything, I am Very Pleased and Very Impressed with Spectrum Analyzer running on my Windows 10.
More people would be able to use this program if all of the above changes were to be made permanent (and/or more convenient) by the developer(s).
The Link Below contains what I compiled ... and ... having Great Success running it in Windows 10 with a HackRF One Version 2021.03.1.
The changes and in fact the zip above itself works great on the latest DragonOS Focal. I started by installing ming and ant, but now I need to check as I don't think either are needed to run what you included in the zip. Considering building this and adding it if I have enough room.
@FarleyI Thanks so much, this saved me.
FYI, the file is at:
Line 14 of /src/hackrf_sweep/lib/hackrf_sweep_spectral_analyzer_buildjar_ant.xml needs one line modified:
You missed the LIB in your path.
@FarleyI Thanks for your efforts. I compiled your patched spectrum analyzer on Ubuntu 20.04 LTS, and it runs fine on Windows 10 with my HackRF One v2021.03.1. I have seen one issue - some weird signals in the 1227.5MHz & 1237.5MHz. These signals persist when the antenna is replaced with a 50 Ohm load or a short, so I believe it's either generated by the HackRF One, or some artefact of the software.
Can anyone else confirm this &/or explain the source of these signals?

Estou executando com sucesso o Spectrum Analyzer no Windows 10 contendo um adaptador de vídeo NVIDIA GeForce GTX 1650 SUPER conectado a um HackRF One que está utilizando o firmware 2021.03.1 e com o módulo addon NooElec TCXO.
Eu baixei o 'git clone' do Spectrum Analyzer. Também copiei e atualizei a fonte dos 3 arquivos que o usuário "avian2" modificou para fazer o Spectrum Analyzer funcionar com o HackRF utilizando o firmware 2021.03.1.
A compilação foi bem-sucedida, mas não foi executada no meu Windows 10 devido a um problema de versão do JRE.
Para o Windows 10, mais um arquivo requer modificação para o Windows 10 JRE versão 55.
A linha 14 de /src/hackrf_sweep/hackrf_sweep_spectral_analyzer_buildjar_ant.xml precisa de uma linha modificada:
ANTIGO:
<javac srcdir="../src-java" destdir="../bin">NOVO:<javac target="1.8" srcdir="../src-java" destdir="../bin">Além disso: a biblioteca 'libusb-1.0' não está disponível para LinuxMint 20.2, mas 'libusb-1.0-0' está.
A seção "Edifício" na página principal deve ser alterada:
sudo apt install build-essential ant git libusb-1.0-0 libfftw3-bin libfftw3-dev default-jdk mingw-w64
Eu compilei tudo no Linux Mint 20.2.
Agora com o que há de melhor e mais recente, estou muito satisfeito e impressionado com o Spectrum Analyzer em execução no meu Windows 10.
Mais pessoas poderiam usar este programa se todas as alterações acima fossem tornadas permanentes (e/ou mais convenientes) pelo(s) desenvolvedor(es).
O Link Abaixo contém o que compilei... e... tendo Grande Sucesso rodando no Windows 10 com um HackRF One Versão 2021.03.1.
Tank you your upload!!!