cjcliffe/CubicSDR

CubicSDR not compatible with rtaudio 6.0.1

hobbes1069 opened this issue · 0 comments

I had a request to update rtaudio on Fedora but did not catch that CubicSDR was not compatible until after the build.

/builddir/build/BUILD/CubicSDR-0.2.7-build/CubicSDR-0.2.7/src/audio/AudioThread.cpp: In member function ‘void AudioThread::setupDevice(int)’:
/builddir/build/BUILD/CubicSDR-0.2.7-build/CubicSDR-0.2.7/src/audio/AudioThread.cpp:435:12: error: ‘RtAudioError’ does not name a type; did you mean ‘RtAudioErrorType’?
  435 |     catch (RtAudioError& e) {
      |            ^~~~~~~~~~~~
      |            RtAudioErrorType
/builddir/build/BUILD/CubicSDR-0.2.7-build/CubicSDR-0.2.7/src/audio/AudioThread.cpp:436:9: error: ‘e’ was not declared in this scope
  436 |         e.printMessage();
      |         ^
/builddir/build/BUILD/CubicSDR-0.2.7-build/CubicSDR-0.2.7/src/audio/AudioThread.cpp: In member function ‘virtual void AudioThread::run()’:
/builddir/build/BUILD/CubicSDR-0.2.7-build/CubicSDR-0.2.7/src/audio/AudioThread.cpp:539:16: error: ‘RtAudioError’ does not name a type; did you mean ‘RtAudioErrorType’?
  539 |         catch (RtAudioError& e) {
      |                ^~~~~~~~~~~~
      |                RtAudioErrorType
/builddir/build/BUILD/CubicSDR-0.2.7-build/CubicSDR-0.2.7/src/audio/AudioThread.cpp:540:13: error: ‘e’ was not declared in this scope
  540 |             e.printMessage();
      |             ^

Full build log (until it expires):
https://kojipkgs.fedoraproject.org//work/tasks/5675/124965675/build.log