Menu

Build on Ubuntu

Julian Cable

Install build tools

 sudo apt-get install g++ unzip make subversion

Install libraries

14.04 LTS

sudo apt-get install libpulse-dev libhamlib-dev fftw3-dev libqwt-dev libpcap-dev libsndfile-dev

16.04 LTS

sudo apt-get install qt5-default libqt5webkit5-dev libqt5svg5-dev libqwt-qt5-dev
sudo apt-get install libpulse-dev libhamlib-dev fftw3-dev libpcap-dev libsndfile-dev libfaad-dev

Get the dream sources

You can download releases from the files area. The following gets the head of the subverision reporsitory

svn checkout svn://svn.code.sf.net/p/drm/code/dream dream

Building

This should now be just:

 cd dream
 qmake
 make
 sudo cp dream /usr/local/bin/dream

Discussion

  • David C Jackson

    David C Jackson - 2020-02-21

    Broken. Could we have expected anything less from this clusterf**k?

     
  • Luis Ramirez Castro

    Bug

    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/AboutDlgbase.ui -o ui/ui_AboutDlgbase.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/AMMainWindow.ui -o ui/ui_AMMainWindow.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/AMSSDlgbase.ui -o ui/ui_AMSSDlgbase.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/AACCodecParams.ui -o ui/ui_AACCodecParams.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/OpusCodecParams.ui -o ui/ui_OpusCodecParams.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/DRMMainWindow.ui -o ui/ui_DRMMainWindow.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/EPGDlgbase.ui -o ui/ui_EPGDlgbase.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/FMMainWindow.ui -o ui/ui_FMMainWindow.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/GeneralSettingsDlgbase.ui -o ui/ui_GeneralSettingsDlgbase.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/JLViewer.ui -o ui/ui_JLViewer.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/LiveScheduleWindow.ui -o ui/ui_LiveScheduleWindow.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/MultSettingsDlgbase.ui -o ui/ui_MultSettingsDlgbase.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/SlideShowViewer.ui -o ui/ui_SlideShowViewer.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/StationsDlgbase.ui -o ui/ui_StationsDlgbase.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/systemevalDlgbase.ui -o ui/ui_systemevalDlgbase.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/TransmDlgbase.ui -o ui/ui_TransmDlgbase.h
    /usr/lib/x86_64-linux-gnu/qt5/bin/uic src/GUI-QT/RigDlg.ui -o ui/ui_RigDlg.h
    g++ -c -m64 -pipe -O2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -fPIC -DEXECUTABLE_NAME=dream -DHAVE_DLFCN_H -DHAVE_MEMORY_H -DHAVE_STDINT_H -DHAVE_STDLIB_H -DHAVE_STRINGS_H -DHAVE_STRING_H -DSTDC_HEADERS -DHAVE_INTTYPES_H -DHAVE_STDINT_H -DHAVE_SYS_STAT_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_LIBZ -DHAVE_LIBPCAP -DHAVE_LIBSNDFILE -DHAVE_LIBHAMLIB -DUSE_PULSEAUDIO -D_REENTRANT -DQWT_DLL -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Iinclude -Isrc/GUI-QT -isystem /usr/include/qwt -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtOpenGL -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Imoc -Iui -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o obj/AnalogDemDlg.o src/GUI-QT/AnalogDemDlg.cpp
    In file included from src/GUI-QT/../MDI/../util/Buffer.h:34:0,
                     from src/GUI-QT/../MDI/../util/Modul.h:33,
                     from src/GUI-QT/../MDI/MDIRSCI.h:37,
                     from src/GUI-QT/../DrmReceiver.h:37,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../MDI/../util/Vector.h:415:2: warning: identifiernullptris a keyword in C++11 [-Wc++0x-compat]
      CMatrix() : ppData(nullptr), iRow(0), iCol(0) {}
      ^
    In file included from src/GUI-QT/../MDI/../util/Buffer.h:34:0,
                     from src/GUI-QT/../MDI/../util/Modul.h:33,
                     from src/GUI-QT/../MDI/MDIRSCI.h:37,
                     from src/GUI-QT/../DrmReceiver.h:37,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../MDI/../util/Vector.h: In constructorCMatrix<TData>::CMatrix()’:
    src/GUI-QT/../MDI/../util/Vector.h:415:21: error: ‘nullptrwas not declared in this scope
      CMatrix() : ppData(nullptr), iRow(0), iCol(0) {}
                         ^
    src/GUI-QT/../MDI/../util/Vector.h: In copy constructorCMatrix<TData>::CMatrix(const CMatrix<TData>&)’:
    src/GUI-QT/../MDI/../util/Vector.h:419:36: error: ‘nullptrwas not declared in this scope
      CMatrix(const CMatrix& m): ppData(nullptr) {
                                        ^
    src/GUI-QT/../MDI/../util/Vector.h: In member functionvoid CMatrix<TData>::Init(int, int)’:
    src/GUI-QT/../MDI/../util/Vector.h:478:17: error: ‘nullptrwas not declared in this scope
       if (ppData != nullptr)
                     ^
    src/GUI-QT/../MDI/../util/Vector.h: In destructorvirtual CMatrix<TData>::~CMatrix()’:
    src/GUI-QT/../MDI/../util/Vector.h:510:16: error: ‘nullptrwas not declared in this scope
      if (ppData != nullptr)
                    ^
    In file included from src/GUI-QT/../MDI/../util/../Parameter.h:43:0,
                     from src/GUI-QT/../MDI/../util/Modul.h:35,
                     from src/GUI-QT/../MDI/MDIRSCI.h:37,
                     from src/GUI-QT/../DrmReceiver.h:37,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../MDI/../util/../ofdmcellmapping/CellMappingTable.h: In constructorCCellMappingTable::CScatPilots::CScatPilots()’:
    src/GUI-QT/../MDI/../util/../ofdmcellmapping/CellMappingTable.h:127:26: error: ‘nullptrwas not declared in this scope
       CScatPilots(): piConst(nullptr), iColSizeWZ(0), piW(nullptr), piZ(nullptr),
                              ^
    In file included from src/GUI-QT/../MDI/../util/../Parameter.h:44:0,
                     from src/GUI-QT/../MDI/../util/Modul.h:35,
                     from src/GUI-QT/../MDI/MDIRSCI.h:37,
                     from src/GUI-QT/../DrmReceiver.h:37,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In constructorCMatlibVector<T>::CMatlibVector()’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:130:63: error: ‘nullptrwas not declared in this scope
      CMatlibVector() : eVType(VTY_CONST), iVectorLength(0), pData(nullptr) {}
                                                                   ^
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In constructorCMatlibVector<T>::CMatlibVector(int, EVecTy)’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:132:41: error: ‘nullptrwas not declared in this scope
       eVType(eNTy), iVectorLength(0), pData(nullptr) {Init(iNLen);}
                                             ^
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In constructorCMatlibVector<T>::CMatlibVector(int, T)’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:134:46: error: ‘nullptrwas not declared in this scope
       eVType(VTY_CONST), iVectorLength(0), pData(nullptr) {Init(iNLen, tIniVal);}
                                                  ^
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In destructorvirtual CMatlibVector<T>::~CMatlibVector()’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:139:41: error: ‘nullptrwas not declared in this scope
      virtual ~CMatlibVector() {if (pData != nullptr) delete[] pData;}
                                             ^
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In constructorCMatlibVector<T>::CMatlibVector(const CMatlibVector<double>&, const CMatlibVector<double>&)’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:142:73: error: ‘nullptrwas not declared in this scope
      eVType(VTY_CONST/*VTY_TEMP*/), iVectorLength(fvReal.GetSize()), pData(nullptr)
                                                                            ^
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In copy constructorCMatlibVector<T>::CMatlibVector(CMatlibVector<T>&)’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:384:71: error: ‘nullptrwas not declared in this scope
       eVType(VTY_CONST/*VTY_TEMP*/), iVectorLength(vecI.GetSize()), pData(nullptr)
                                                                           ^
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In copy constructorCMatlibVector<T>::CMatlibVector(const CMatlibVector<T>&)’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:422:58: error: ‘nullptrwas not declared in this scope
      eVType(VTY_CONST), iVectorLength(vecI.GetSize()), pData(nullptr)
                                                              ^
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In member functionvoid CMatlibVector<T>::Init(int, T)’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:443:16: error: ‘nullptrwas not declared in this scope
       if (pData != nullptr)
                    ^
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In constructorCMatlibMatrix<T>::CMatlibMatrix()’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:604:59: error: ‘nullptrwas not declared in this scope
      CMatlibMatrix() : eVType(VTY_CONST), iRowSize(0), ppData(nullptr) {}
                                                               ^
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In constructorCMatlibMatrix<T>::CMatlibMatrix(int, int, EVecTy)’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:607:23: error: ‘nullptrwas not declared in this scope
       iRowSize(0), ppData(nullptr) {Init(iNRowLen, iNColLen);}
                           ^
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In constructorCMatlibMatrix<T>::CMatlibMatrix(int, int, T)’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:609:42: error: ‘nullptrwas not declared in this scope
       eVType(VTY_CONST), iRowSize(0), ppData(nullptr)
                                              ^
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In destructorvirtual CMatlibMatrix<T>::~CMatlibMatrix()’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:613:42: error: ‘nullptrwas not declared in this scope
      virtual ~CMatlibMatrix() {if (ppData != nullptr) delete[] ppData;}
                                              ^
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In copy constructorCMatlibMatrix<T>::CMatlibMatrix(const CMatlibMatrix<T>&)’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:807:57: error: ‘nullptrwas not declared in this scope
      eVType(VTY_CONST), iRowSize(matI.GetRowSize()), ppData(nullptr)
                                                             ^
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h: In member functionvoid CMatlibMatrix<T>::Init(int, int, T)’:
    src/GUI-QT/../MDI/../util/../matlib/Matlib.h:833:17: error: ‘nullptrwas not declared in this scope
       if (ppData != nullptr)
                     ^
    In file included from src/GUI-QT/../MDI/../util/Modul.h:35:0,
                     from src/GUI-QT/../MDI/MDIRSCI.h:37,
                     from src/GUI-QT/../DrmReceiver.h:37,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../MDI/../util/../Parameter.h: At global scope:
    src/GUI-QT/../MDI/../util/../Parameter.h:1035:65: error: ‘nullptrwas not declared in this scope
         std::string GetDataDirectory(const char* pcChildDirectory = nullptr) const;
                                                                     ^
    In file included from src/GUI-QT/../MDI/MDIRSCI.h:37:0,
                     from src/GUI-QT/../DrmReceiver.h:37,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../MDI/../util/Modul.h: In constructorCModul<TInput, TOutput>::CModul()’:
    src/GUI-QT/../MDI/../util/Modul.h:250:18: error: ‘nullptrwas not declared in this scope
      pvecInputData = nullptr;
                      ^
    src/GUI-QT/../MDI/../util/Modul.h: In constructorCTransmitterModul<TInput, TOutput>::CTransmitterModul()’:
    src/GUI-QT/../MDI/../util/Modul.h:334:19: error: ‘nullptrwas not declared in this scope
      pvecInputData2 = nullptr;
                       ^
    src/GUI-QT/../MDI/../util/Modul.h: In constructorCReceiverModul<TInput, TOutput>::CReceiverModul()’:
    src/GUI-QT/../MDI/../util/Modul.h:513:20: error: ‘nullptrwas not declared in this scope
      pvecOutputData2 = nullptr;
                        ^
    src/GUI-QT/../MDI/../util/Modul.h: In constructorCSimulationModul<TInput, TOutput, TInOut2>::CSimulationModul()’:
    src/GUI-QT/../MDI/../util/Modul.h:1134:20: error: ‘nullptrwas not declared in this scope
      pvecOutputData2 = nullptr;
                        ^
    In file included from src/GUI-QT/../MDI/TagPacketDecoderRSCIControl.h:33:0,
                     from src/GUI-QT/../MDI/MDIRSCI.h:44,
                     from src/GUI-QT/../DrmReceiver.h:37,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../MDI/RSCITagItemDecoders.h: In constructorCTagItemDecoderRCI::CTagItemDecoderRCI(const string&)’:
    src/GUI-QT/../MDI/RSCITagItemDecoders.h:112:58: error: ‘nullptrwas not declared in this scope
      CTagItemDecoderRCI(const std::string& s) : pDRMReceiver(nullptr),tag(s) {}
                                                              ^
    src/GUI-QT/../MDI/RSCITagItemDecoders.h: In constructorCTagItemDecoderCpro::CTagItemDecoderCpro()’:
    src/GUI-QT/../MDI/RSCITagItemDecoders.h:151:69: error: ‘nullptrwas not declared in this scope
      CTagItemDecoderCpro() : CTagItemDecoderRCI("crec"), pRSISubscriber(nullptr) {}
                                                                         ^
    In file included from src/GUI-QT/../MDI/MDIRSCI.h:46:0,
                     from src/GUI-QT/../DrmReceiver.h:37,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../MDI/RSISubscriber.h: At global scope:
    src/GUI-QT/../MDI/RSISubscriber.h:46:38: error: ‘nullptrwas not declared in this scope
      CRSISubscriber(CPacketSink *pSink = nullptr);
                                          ^
    src/GUI-QT/../MDI/RSISubscriber.h:90:44: error: ‘nullptrwas not declared in this scope
      CRSISubscriberSocket(CPacketSink *pSink = nullptr);
                                                ^
    In file included from src/GUI-QT/../DrmReceiver.h:37:0,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../MDI/MDIRSCI.h: In member functionbool CUpstreamDI::GetInEnabled()’:
    src/GUI-QT/../MDI/MDIRSCI.h:58:40: error: ‘nullptrwas not declared in this scope
      bool GetInEnabled() {return source != nullptr;}
                                            ^
    In file included from src/GUI-QT/../DataIO.h:44:0,
                     from src/GUI-QT/../DrmReceiver.h:42,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../util/AudioFile.h: In constructorCWaveFile::CWaveFile()’:
    src/GUI-QT/../util/AudioFile.h:38:22: error: ‘nullptrwas not declared in this scope
      CWaveFile() : pFile(nullptr), iBytesWritten(0) {}
                          ^
    src/GUI-QT/../util/AudioFile.h: In destructorvirtual CWaveFile::~CWaveFile()’:
    src/GUI-QT/../util/AudioFile.h:39:37: error: ‘nullptrwas not declared in this scope
      virtual ~CWaveFile() {if (pFile != nullptr) Close();}
                                         ^
    src/GUI-QT/../util/AudioFile.h: In member functionvoid CWaveFile::Open(std::__cxx11::string, int)’:
    src/GUI-QT/../util/AudioFile.h:43:16: error: ‘nullptrwas not declared in this scope
       if (pFile != nullptr)
                    ^
    src/GUI-QT/../util/AudioFile.h:58:16: error: ‘nullptrwas not declared in this scope
       if (pFile != nullptr)
                    ^
    src/GUI-QT/../util/AudioFile.h: In member functionvoid CWaveFile::AddStereoSample(_SAMPLE, _SAMPLE)’:
    src/GUI-QT/../util/AudioFile.h:67:16: error: ‘nullptrwas not declared in this scope
       if (pFile != nullptr)
                    ^
    src/GUI-QT/../util/AudioFile.h: In member functionvoid CWaveFile::Close()’:
    src/GUI-QT/../util/AudioFile.h:77:16: error: ‘nullptrwas not declared in this scope
       if (pFile != nullptr)
                    ^
    In file included from src/GUI-QT/../DrmReceiver.h:42:0,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../DataIO.h: In constructorCReadData::CReadData()’:
    src/GUI-QT/../DataIO.h:68:26: error: ‘nullptrwas not declared in this scope
         CReadData() : pSound(nullptr) {}
                              ^
    In file included from src/GUI-QT/../DrmReceiver.h:44:0,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../DRMSignalIO.h: In constructorCReceiveData::CReceiveData()’:
    src/GUI-QT/../DRMSignalIO.h:177:16: error: ‘nullptrwas not declared in this scope
             pSound(nullptr),
                    ^
    In file included from src/GUI-QT/../DrmReceiver.h:47:0,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../datadecoding/DataDecoder.h: In member functionCMOTDABDec* CDataDecoder::getApplication(int)’:
    src/GUI-QT/../datadecoding/DataDecoder.h:77:105: error: ‘nullptrwas not declared in this scope
     cketID) { return (iPacketID>=0 && iPacketID<3)?&MOTObject[iPacketID]:nullptr; }
                                                                          ^
    In file included from src/GUI-QT/../sourcedecoders/AudioSourceDecoder.h:38:0,
                     from src/GUI-QT/../DrmReceiver.h:49,
                     from src/GUI-QT/SoundCardSelMenu.h:35,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../sourcedecoders/../MSC/audiosuperframe.h: At global scope:
    src/GUI-QT/../sourcedecoders/../MSC/audiosuperframe.h:16:36: error: ‘>>should be> >within a nested template argument list
         std::vector<std::vector<uint8_t>> audioFrame;
                                        ^
    In file included from src/GUI-QT/SoundCardSelMenu.h:35:0,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../DrmReceiver.h:139:33: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual void   LoadSettings() override; // can write to settings to set def
                                     ^
    src/GUI-QT/../DrmReceiver.h:140:33: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual void   SaveSettings() override;
                                     ^
    src/GUI-QT/../DrmReceiver.h:151:106: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
     Inputs(std::vector<string>& names, std::vector<string>& descriptions) override;
                                                                         ^
    src/GUI-QT/../DrmReceiver.h:152:107: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
     utputs(std::vector<string>& names, std::vector<string>& descriptions) override;
                                                                         ^
    src/GUI-QT/../DrmReceiver.h:153:55: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual void            SetInputDevice(std::string) override;
                                                           ^
    src/GUI-QT/../DrmReceiver.h:154:47: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual void   SetOutputDevice(std::string) override;
                                                   ^
    src/GUI-QT/../DrmReceiver.h:156:35: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual CSettings*GetSettings()  override{
                                       ^
    src/GUI-QT/../DrmReceiver.h:160:53: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual void SetSettings(CSettings* pNewSettings) override {
                                                         ^
    src/GUI-QT/../DrmReceiver.h:164:39: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual CParameter* GetParameters() override {
                                           ^
    src/GUI-QT/../DrmReceiver.h:168:31: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual bool IsReceiver() const override { return true; }
                                   ^
    src/GUI-QT/../DrmReceiver.h:169:34: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual bool IsTransmitter() const override  { return false; }
                                      ^
    src/GUI-QT/../DrmReceiver.h:136:39: error: ‘nullptrwas not declared in this scope
         CDRMReceiver(CSettings* pSettings=nullptr);
                                           ^
    In file included from src/GUI-QT/SoundCardSelMenu.h:38:0,
                     from src/GUI-QT/AnalogDemDlg.h:36,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../main-Qt/ctrx.h:12:37: error: ‘nullptrwas not declared in this scope
         explicit CTRx(QThread *parent = nullptr);
                                         ^
    In file included from src/GUI-QT/DRMPlot.h:71:0,
                     from src/GUI-QT/AnalogDemDlg.h:37,
                     from src/GUI-QT/AnalogDemDlg.cpp:31:
    src/GUI-QT/../main-Qt/crx.h:17:18: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual ~CRx() override;
                      ^
    src/GUI-QT/../main-Qt/crx.h:18:14: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         void run() override;
                  ^
    src/GUI-QT/../main-Qt/crx.h:67:30: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual int GetFrequency() override;
                                  ^
    src/GUI-QT/../main-Qt/crx.h:68:95: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
     Inputs(std::vector<string>& names, std::vector<string>& descriptions) override;
                                                                         ^
    src/GUI-QT/../main-Qt/crx.h:69:96: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
     utputs(std::vector<string>& names, std::vector<string>& descriptions) override;
                                                                         ^
    src/GUI-QT/../main-Qt/crx.h:70:36: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual CSettings* GetSettings() override;
                                        ^
    src/GUI-QT/../main-Qt/crx.h:71:39: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual CParameter* GetParameters() override;
                                           ^
    src/GUI-QT/../main-Qt/crx.h:74:31: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual void LoadSettings() override;
                                   ^
    src/GUI-QT/../main-Qt/crx.h:75:31: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual void SaveSettings() override;
                                   ^
    src/GUI-QT/../main-Qt/crx.h:76:44: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual void SetInputDevice(std::string) override;
                                                ^
    src/GUI-QT/../main-Qt/crx.h:77:45: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual void SetOutputDevice(std::string) override;
                                                 ^
    src/GUI-QT/../main-Qt/crx.h:83:53: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual void SetSettings(CSettings* pNewSettings) override;
                                                         ^
    src/GUI-QT/../main-Qt/crx.h:84:31: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual bool IsReceiver() const override { return true;}
                                   ^
    src/GUI-QT/../main-Qt/crx.h:85:34: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual bool IsTransmitter() const override { return false;}
                                      ^
    src/GUI-QT/../main-Qt/crx.h:103:34: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual void SetFrequency(int) override;
                                      ^
    src/GUI-QT/../main-Qt/crx.h:110:43: warning: override controls (override/final) only available with -std=c++11 or -std=gnu++11
         virtual void SetSoundSignalUpscale(int) override;
                                               ^
    src/GUI-QT/../main-Qt/crx.h:16:52: error: ‘nullptrwas not declared in this scope
         explicit CRx(CDRMReceiver& nRx, CTRx *parent = nullptr);
                                                        ^
    src/GUI-QT/AnalogDemDlg.cpp: In constructorAnalogDemDlg::AnalogDemDlg(CRx&, CSettings&, CFileMenu*, CSoundCardSelMenu*, QWidget*)’:
    src/GUI-QT/AnalogDemDlg.cpp:64:44: error: ‘nullptrwas not declared in this scope
         AMSSDlg(nrx, Settings, this), MainPlot(nullptr),
                                                ^
    Makefile:2106: recipe for target 'obj/AnalogDemDlg.o' failed
    make: *** [obj/AnalogDemDlg.o] Error 1
    
     
  • Luis Ramirez Castro

    Post awaiting moderation.
  • Michael

    Michael - 2023-09-05

    <deleted previous="" message=""> Discovered that you need the speexdsp library from: https://github.com/xiph/speexdsp.git. It is not mentioned as a dependency.</deleted>

     

    Last edit: Michael 2023-09-07
  • Michael

    Michael - 2023-09-08

    For building on Linux Mint 21.2, qt5-default is not available but if you install other libraries, you can get the same functionality:

    sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools

    There is one problem, however. libhamlib/riglist.h defines rig_model_t as uint32_t while DialogUtil.h has it defined as int. Changing DialogUtil.h didn't work but changing the riglist.h definition to int allowed compilation to complete. Unknown if there are any side effects of that change.

     
    • Oliver Haffenden

      In a commit on my dream-ollie branch, I came to the conclusion that the definition in DialogUtil.h was unnecessary and could be deleted altogether. I may have been mistaken in that conclusion, though! I also made some changes in that branch to deal with a change in the API of the gpsd library automatically based on its version, which is another recurrent problem.

       
      • Michael

        Michael - 2023-09-18

        I tried commenting out the definition for rig_model_t but compilation failed in Hamlib.cpp. My C++ knowledge isn't enough to fix it at that point. If it can be modified, it would be a much better fix then my hack.

         

Log in to post a comment.