cropinghigh / sdrpp-vhfvoiceradio

NFM demod with CTCSS/DCS and DSD
GNU General Public License v3.0
14 stars 6 forks source link

Error while installing #5

Closed alphapats closed 7 months ago

alphapats commented 7 months ago
While running make command, I am getting following error: ` sdrpp-vhfvoiceradio/src/demodulators/wfm.h:52:24: error: cannot convert ‘dsp::stream’ to ‘dsp::stream’ 52 recov.init(&demod.rdsOut, 5000.0 / 2375, omegaGain, muGain, 0.01); ^~~~~
dsp::stream*

`

OS: Ubuntu22.0.4

cropinghigh commented 7 months ago

You have latest sdr++&sdrpp_headers, right?

alphapats commented 7 months ago

yes.. downloaded the latest SDRplusplus github code and rebuild sdrpp. I am facing same issue again for this module only. Other modules of yours like tetrademod are working fine.

error: cannot convert ‘dsp::stream’ to ‘dsp::stream’ 52 | recov.init(&demod.rdsOut, 5000.0 / 2375, omegaGain, muGain, 0.01);

cropinghigh commented 7 months ago

I guess you're using outdated version of sdrpp headers. Update them too. I just updated both sdrpp and sdrpp-headers to latest git version and everything compiles normally: изображение

alphapats commented 7 months ago

I have again updated both sdrpp and sdrpp-headers but still getting the same error while compiling.

/home/user/Documents/sdrpp-vhfvoiceradio/src/demodulators/wfm.h: In member function ‘virtual void demod::WFM::init(std::string, ConfigManager, dsp::stream, double, double)’: /home/user/Documents/sdrpp-vhfvoiceradio/src/demodulators/wfm.h:52:24: error: cannot convert ‘dsp::stream’ to ‘dsp::stream’ 52 recov.init(&demod.rdsOut, 5000.0 / 2375, omegaGain, muGain, 0.01); ^~~~~
dsp::stream*

In file included from /home/user/Documents/sdrpp-vhfvoiceradio/src/demodulators/dsd.h:17, from /home/user/Documents/sdrpp-vhfvoiceradio/src/demod.h:52, from /home/user/Documents/sdrpp-vhfvoiceradio/src/radio_module.h:20, from /home/user/Documents/sdrpp-vhfvoiceradio/src/main.cpp:1: /usr/include/sdrpp_core/dsp/clock_recovery/fd.h:23:34: note: initializing argument 1 of ‘void dsp::clock_recovery::FD::init(dsp::stream*, double, double, double, double, int, int)’

cropinghigh commented 7 months ago

Oh, i'm sorry, i've checked tetra-demod for some reason

cropinghigh commented 7 months ago

Fixed by ee1b3f6

alphapats commented 7 months ago

Now working after your update