Giter Club home page Giter Club logo

Comments (6)

K4KDR avatar K4KDR commented on May 24, 2024 1

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.

Aang23 avatar Aang23 commented on May 24, 2024

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.

Aang23 avatar Aang23 commented on May 24, 2024

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.

K4KDR avatar K4KDR commented on May 24, 2024

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.

Aang23 avatar Aang23 commented on May 24, 2024

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.

benb0jangles avatar benb0jangles commented on May 24, 2024

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

IMG_20211015_211120589

from satdump.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.