righthalfplane / SdrGlut

SdrGlut is a simple software defined radio - using glut and glui for its interface
MIT License
86 stars 15 forks source link

Can't compile on Linux Mint 19.3 #17

Closed janoleholm closed 3 years ago

janoleholm commented 3 years ago

Want to try your sdr with my LimeSDR mini, but get this error:

Radio/RaceFastsdr.cpp:1199:50: error: invalid conversion from ‘int’ to ‘liquid_ampmodem_type’ [-fpermissive] f->demodAM = ampmodem_create(0.5, mode, iflag); ^ Radio/RaceFastsdr.cpp:1199:50: error: too few arguments to function ‘ampmodem_s* ampmodem_create(float, float, liquid_ampmodem_type, int)’

righthalfplane commented 3 years ago

In the file MainSource/firstFile.h comment out the "#if LIQUID_VERSION_NUMBER >= 1003001 || arm" like -

//#if LIQUID_VERSION_NUMBER >= 1003001 || arm

define LIQUID_VERSION_4 1

//#endif

janoleholm commented 3 years ago

Thanks very much.

Now I compile without errors :-)