Reply To: How to use my RSPduo w/ Rpi-3 & command line?

SDRPlay Independent Community Forum Forums General How to use my RSPduo w/ Rpi-3 & command line? Reply To: How to use my RSPduo w/ Rpi-3 & command line?

#1954
alanmalk
Participant
    g++ -O3 -std=gnu++11 -DNO_FORTRAN  -I./Digital -pthread -I./glui-routines/include -I/usr/local/hdf-64/include -I/usr/X11R6/include  -I./DrawFindPointHistory  -I ./SdrFile -I./MainSource -I./KdTree-routines -I./glui-routines/include -I./CExpress -I./Classes -I./SdrGlut -I./FMRadio  -I./Radio   -c -o Radio/RaceFastsdr.o Radio/RaceFastsdr.cpp
    
    Radio/RaceFastsdr.cpp: In function 'int setFilters(playData*, Filters*)':
    Radio/RaceFastsdr.cpp:1313:39: error: cannot convert 'double' to 'liquid_ampmodem_type'
     1313 |     f->demodAM = ampmodem_create(0.5, 0.0, mode, iflag);
          |                                       ^~~
          |                                       |
          |                                       double
    In file included from Radio/RaceFastsdr.h:11,
                     from Radio/Radio.h:11,
                     from Radio/RaceFastsdr.cpp:3:
    /usr/local/include/liquid/liquid.h:7821:47: note:   initializing argument 2 of 'ampmodem_s* ampmodem_create(float, liquid_ampmodem_type, int)'
     7821 |                          liquid_ampmodem_type _type,
          |                          ~~~~~~~~~~~~~~~~~~~~~^~~~~
    
    make: *** [<builtin>: Radio/RaceFastsdr.o] Error 1
    
    pi@pitest:~/Downloads/SdrGlut $    

    Repost to keep the formatting.