charlie-foxtrot / RTLSDR-Airband

Multichannel AM/NFM demodulator
GNU General Public License v3.0
761 stars 135 forks source link

[BUG] SHOUT_META_NAME’ was not declared in this scope #466

Open valeriosouza opened 8 months ago

valeriosouza commented 8 months ago

What happened?

/root/RTLSDR-Airband/src/output.cpp: In function ‘void shout_setup(icecast_data*, mix_modes)’:
/root/RTLSDR-Airband/src/output.cpp:102:52: error: ‘SHOUT_META_NAME’ was not declared in this scope
     if (icecast->name && shout_set_meta(shouttemp, SHOUT_META_NAME, icecast->name) != SHOUTERR_SUCCESS) {
                                                    ^
/root/RTLSDR-Airband/src/output.cpp:102:82: error: ‘shout_set_meta’ was not declared in this scope
     if (icecast->name && shout_set_meta(shouttemp, SHOUT_META_NAME, icecast->name) != SHOUTERR_SUCCESS) {
                                                                                  ^
/root/RTLSDR-Airband/src/output.cpp:106:53: error: ‘SHOUT_META_GENRE’ was not declared in this scope
     if (icecast->genre && shout_set_meta(shouttemp, SHOUT_META_GENRE, icecast->genre) != SHOUTERR_SUCCESS) {
                                                     ^
/root/RTLSDR-Airband/src/output.cpp:106:85: error: ‘shout_set_meta’ was not declared in this scope
     if (icecast->genre && shout_set_meta(shouttemp, SHOUT_META_GENRE, icecast->genre) != SHOUTERR_SUCCESS) {
                                                                                     ^
/root/RTLSDR-Airband/src/output.cpp:110:59: error: ‘SHOUT_META_DESCRIPTION’ was not declared in this scope
     if (icecast->description && shout_set_meta(shouttemp, SHOUT_META_DESCRIPTION, icecast->description) != SHOUTERR_SUCCESS) {
                                                           ^
/root/RTLSDR-Airband/src/output.cpp:110:103: error: ‘shout_set_meta’ was not declared in this scope
     if (icecast->description && shout_set_meta(shouttemp, SHOUT_META_DESCRIPTION, icecast->description) != SHOUTERR_SUCCESS) {
                                                                                                       ^
src/CMakeFiles/rtl_airband_base.dir/build.make:189: recipe for target 'src/CMakeFiles/rtl_airband_base.dir/output.cpp.o' failed
make[2]: *** [src/CMakeFiles/rtl_airband_base.dir/output.cpp.o] Error 1
CMakeFiles/Makefile2:87: recipe for target 'src/CMakeFiles/rtl_airband_base.dir/all' failed
make[1]: *** [src/CMakeFiles/rtl_airband_base.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

What you expected to happen? Install

Steps to Reproduce Step by Step for install doc

valeriosouza commented 8 months ago

image