Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SA Can Run on Windows 10 with HackRF One Firmware 2021.03.1 #44

Open
FarleyI opened this issue Dec 8, 2021 · 4 comments
Open

SA Can Run on Windows 10 with HackRF One Firmware 2021.03.1 #44

FarleyI opened this issue Dec 8, 2021 · 4 comments

Comments

@FarleyI
Copy link

FarleyI commented Dec 8, 2021

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.

avian2@2d71393

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.

hackrf_spectrum_analyzer.zip
.

@alphafox02
Copy link

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.

@netkruzer
Copy link

netkruzer commented May 25, 2022

@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.

@mws-rmain
Copy link

@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?
L2 Spectrum Snapshot - HackRF

@samukas81
Copy link

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.

avian2@ 2d71393

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.

hackrf_spectrum_analyzer.zip .

Tank you your upload!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants