windytan / redsea

Command-line FM-RDS decoder with JSON output.
MIT License
406 stars 38 forks source link

cannot compile. #36

Closed sebastianheyn closed 7 years ago

sebastianheyn commented 7 years ago

Hi I'm trying to compile this on a orange pi with debian jesse.

I have liquid installed but make fails

hadow -Wuninitialized -pedantic -g -O2 -MT redsea-redsea.o -MD -MP -MF .deps/redsea-redsea.Tpo -c -o redsea-redsea.o test -f 'redsea.cc' || echo './'redsea.cc In file included from ../src/subcarrier.h:10:0, from ../src/block_sync.h:10, from redsea.cc:24: ../src/liquid_wrappers.h:55:31: error: expected â before â SymSync(liquid_firfilt_type ftype, unsigned k, unsigned m, ^ Makefile:400: recipe for target 'redsea-redsea.o' failed

the configure script can find liquid otherwise it would stop. Any hints?? Thanks in advance

windytan commented 7 years ago

Thanks. It seems the terminal didn't print that error message correctly. Could you re-run make using the following command?

export LC_ALL=C; make

windytan commented 7 years ago

Did you try this? Was this resolved?

windytan commented 7 years ago

@sebastianheyn - I assume that this bug is no longer relevant, and I will close it tomorrow soon.

usagi87 commented 7 years ago

I get the same error when using older version of liquid dsp.

windytan commented 7 years ago

@usagi87 Thanks. How old a version? Also, does the suggestion I mentioned in my first comment clarify the error message in your case?

usagi87 commented 7 years ago

Hey, I trying to use liquid-dsp v1.2 because v1.3 when used to compile redsea gives an error illegal intruction, but when using it gives a above error.

windytan commented 7 years ago

@usagi87 Does the suggestion I mentioned in my first comment clarify the error message in your case?

usagi87 commented 7 years ago

In file included from ../src/subcarrier.h:29:0, from ../src/block_sync.h:26, from redsea.cc:23: ../src/liquid_wrappers.h:71:31: error: expected ')' before 'ftype' SymSync(liquid_firfilt_type ftype, unsigned k, unsigned m, ^ Makefile:405: recipe for target 'redsea-redsea.o' failed

windytan commented 7 years ago

Thanks! I've made an attempt at fixing this now. Would be glad to hear if it works.

usagi87 commented 7 years ago

gives a new error subcarrier.cc: In constructor 'redsea::Subcarrier::Subcarrier(const redsea::Options&)': subcarrier.cc:125:14: error: 'LIQUID_FIRFILTRRC' was not declared in this scope symsync(LIQUID_FIRFILT_RRC, kSamplesPerSymbol, kSymsyncDelay, ^ Makefile:433: recipe for target 'redsea-subcarrier.o' failed make[2]: *** [redsea-subcarrier.o] Error 1

I found away around the problem with liquid-dsp v1.3 so now redsea work with out crashing.