martinmarinov / TempestSDR

Remote video eavesdropping using a software-defined radio platform
GNU General Public License v3.0
1.35k stars 249 forks source link

How to install on Linux? #57

Open LuxStatera opened 11 months ago

LuxStatera commented 11 months ago

The instructions are unclear. Do I make the file myself or do I just use the .jar file? What do you mean by building the executable? Should I skip the .jar file and try to build an executable? Do I git clone this or not?

I tried to use the.jar file which opened but it did not recognize my HackRF. Clicking "Load ExtIO source" didn't connect my HackRF. It brought up a window to search through my files.

I git cloned this repo and tried to "build an executable" but it gave me an error.

Do you have a wiki that gives a detailed explanation of the installation process and also how to setup and use the software?

patkandomovy commented 7 months ago

You clone the repo, go into JavaGUI folder and build the executable using make all. Then, try running it with java -jar JTempestSDR.jar. I could not start the program with just double-clicking JTempestSDR.jar . If you're getting errors when building the executable, please build the executable with make all &> out.txt and provide us the out.txt file, so we can see the errors.

Edit: Also, install UHD drivers and Boost libraries:

sudo apt-get install libboost-all-dev
sudo apt-get install libuhd-dev uhd-host

or in JavaGUI/makefile comment out TSDRPlugin_UHD on line 91 like this: PLUGINS += # TSDRPlugin_UHD This will skip compiling the plugin for UHD.

arf20 commented 3 months ago

I get

TSDRLibraryNDK.c:15:10: fatal error: jni.h: No such file or directory
   15 | #include <jni.h>
      |          ^~~~~~~

trying to build JavaGUI