Comments (6)
Thanks so much!
libairspyhf-dev
was installed, but apparently that was not enough.
If anyone else runs into this issue, the CMAKE command that got me going was:
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_SDR_AIRSPYHF=OFF -DCMAKE_INSTALL_PREFIX=/usr ..
from satdump.
I see 2 solutions : Either disable the support with -DENABLE_SDR_AIRSPYHF=OFF in the cmake arguments, or installing libairspyhf-dev which I would guess is missing.
You're welcome!
I should write code to disable SDRs that do not have a library detected.
from satdump.
Weird for sure!
I have pushed a commit that will only build SDR Support for a given SDR if the right library is found. That should avoid this kind of issues.
Perhaps your libairspyhf was too old?
from satdump.
Perhaps your libairspyhf was too old?
... don't know - it's what is currently available in Ubuntu 18.04:
k4kdr@3010i5:~/SatDump-0.0.37/build$ apt-cache policy libairspyhf-dev
libairspyhf-dev:
Installed: 1.0-1
Candidate: 1.0-1
Version table:
*** 1.0-1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
100 /var/lib/dpkg/status
... but no matter, the switch to disable certain SDRs and now the update you've added to auto-check the installed SDR support takes care of it just fine. Many thanks as always!!
from satdump.
Yes, then that is the issue. I am on 1.6.8 here and 1.0 is very outdated...
Good that the rest worked though!
You're welcome! Gonna close this now, I think that's it.
from satdump.
Similar error experienced here too compiling SatDump v0.0.37:
/home/user2/satdump/libsdr/sdr/airspyhf.cpp: In member function ‘virtual void SDRAirspyHF::start()’:
/home/user2/satdump/libsdr/sdr/airspyhf.cpp:67:5: error: ‘airspyhf_set_hf_agc’ was not declared in this scope; did you mean ‘airspyhf_set_freq’?
67 | airspyhf_set_hf_agc(dev, agc_mode != 0);
| ^~~~~~~~~~~~~~~~~~~
| airspyhf_set_freq
/home/user2/satdump/libsdr/sdr/airspyhf.cpp:68:5: error: ‘airspyhf_set_hf_agc_threshold’ was not declared in this scope
68 | airspyhf_set_hf_agc_threshold(dev, agc_mode - 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user2/satdump/libsdr/sdr/airspyhf.cpp:70:5: error: ‘airspyhf_set_hf_att’ was not declared in this scope; did you mean ‘airspyhf_set_freq’?
70 | airspyhf_set_hf_att(dev, attenuation / 6.0f);
| ^~~~~~~~~~~~~~~~~~~
| airspyhf_set_freq
/home/user2/satdump/libsdr/sdr/airspyhf.cpp:71:5: error: ‘airspyhf_set_hf_lna’ was not declared in this scope; did you mean ‘airspyhf_set_freq’?
71 | airspyhf_set_hf_lna(dev, hf_lna);
| ^~~~~~~~~~~~~~~~~~~
| airspyhf_set_freq
/home/user2/satdump/libsdr/sdr/airspyhf.cpp: In member function ‘virtual void SDRAirspyHF::drawUI()’:
/home/user2/satdump/libsdr/sdr/airspyhf.cpp:104:9: error: ‘airspyhf_set_hf_att’ was not declared in this scope; did you mean ‘airspyhf_set_freq’?
104 | airspyhf_set_hf_att(dev, attenuation / 6.0f);
| ^~~~~~~~~~~~~~~~~~~
| airspyhf_set_freq
/home/user2/satdump/libsdr/sdr/airspyhf.cpp:111:9: error: ‘airspyhf_set_hf_agc’ was not declared in this scope; did you mean ‘airspyhf_set_freq’?
111 | airspyhf_set_hf_agc(dev, agc_mode != 0);
| ^~~~~~~~~~~~~~~~~~~
| airspyhf_set_freq
/home/user2/satdump/libsdr/sdr/airspyhf.cpp:112:9: error: ‘airspyhf_set_hf_agc_threshold’ was not declared in this scope
112 | airspyhf_set_hf_agc_threshold(dev, agc_mode - 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/user2/satdump/libsdr/sdr/airspyhf.cpp:117:9: error: ‘airspyhf_set_hf_lna’ was not declared in this scope; did you mean ‘airspyhf_set_freq’?
117 | airspyhf_set_hf_lna(dev, hf_lna);
| ^~~~~~~~~~~~~~~~~~~
| airspyhf_set_freq
libsdr/CMakeFiles/sdr.dir/build.make:89: recipe for target 'libsdr/CMakeFiles/sdr.dir/sdr/airspyhf.cpp.o' failed
make[2]: *** [libsdr/CMakeFiles/sdr.dir/sdr/airspyhf.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:266: recipe for target 'libsdr/CMakeFiles/sdr.dir/all' failed
make[1]: *** [libsdr/CMakeFiles/sdr.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 92%] Linking CXX executable ../satdump
[ 92%] Built target satdump
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2
using K4KDR suggestion above to disable airspyhf worked for me
#32 (comment)
System:
Arm/Aarch64 Jetson Nano
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
JetPack 4.6
upgraded cmake version to 3.21.3
upgraded to gcc-10 & g++-10
So now also working on Nvidia Jetson Nano, but I need to test how well performance is during Live Decoding of Meteor, could be nice 5v portable/headless decoder system maybe tomorrow :)
I will be mounting to a rotator with gpredict to try HRPT NOAA or FY-3B - a big step up from NOAA APT and piece of wire :D
from satdump.
Related Issues (20)
- Execute external command as post action after autotrack has terminated HOT 1
- Samplerate is Zero in CLI autotrack setup HOT 2
- Forum? Getting help? HOT 6
- Show local time in Schedule for autotrack HOT 2
- Question: How to get cadu frames out via TCP in real-time? HOT 1
- satdump-ui daily build displaying 1.2.0-67e652c3 version HOT 2
- Meteor-m2-4 Map overlay HOT 5
- SatDump 1.1.4 and nightly 1.4 crash HOT 5
- Command line arguments for file input in satdump live CLI? HOT 4
- Regarding the software crash phenomenon during METEOR M2-4 reception HOT 6
- Meteor M2-4 HRPT Crash HOT 1
- Satdump logs HOT 1
- When Using CLI to add stereo and tpers projections, width and height are not found HOT 3
- Satdump stopped running overnight saying it received a command HOT 3
- Failed to start satdump after Win 11 install HOT 2
- NOAA APT location calculation error for nightly build v1.2.0-127cab9 HOT 2
- SNR Logs
- S-pen doesn't work on Samsung tablet HOT 3
- r82xx_write: i2c wr failed=-9 reg=1a len=1 HOT 6
- Stopping geostationary pipelines manually makes the app freeze and get marked as "not responding" by Android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from satdump.