f4exb / sdrangel

SDR Rx/Tx software for Airspy, Airspy HF+, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay and FunCube
GNU General Public License v3.0
2.94k stars 447 forks source link

compile error: apt_calibrate_visible not declared #1511

Closed catkira closed 2 years ago

catkira commented 2 years ago

When I compile the latest master branch I get this error:

/mnt/d/git/sdrangel/plugins/channelrx/demodapt/aptdemodimageworker.cpp: In member function ‘QImage APTDemodImageWorker::processImage(QStringList&, APTDemodSettings::ChannelSelection)’:
/mnt/d/git/sdrangel/plugins/channelrx/demodapt/aptdemodimageworker.cpp:847:9: error: ‘apt_calibrate_visible’ was not declared in this scope
  847 |         apt_calibrate_visible(satnum, &m_tempImage, APT_CHA_OFFSET, APT_CH_WIDTH);
      |         ^~~~~~~~~~~~~~~~~~~~~
/mnt/d/git/sdrangel/plugins/channelrx/demodapt/aptdemodimageworker.cpp:859:9: error: ‘apt_calibrate_thermal’ was not declared in this scope
  859 |         apt_calibrate_thermal(satnum, &m_tempImage, APT_CHB_OFFSET, APT_CH_WIDTH);

does anybody have an idea what went wrong?

catkira commented 2 years ago

nervermind, it was just a lamer mistake... My aptdec was out of date.