pschatzmann / arduino-audio-tools

Arduino Audio Tools (a powerful Audio library not only for Arduino)
GNU General Public License v3.0
1.55k stars 237 forks source link

Compile error on Arduino 2.3.2 #1481

Closed hasaranga closed 8 months ago

hasaranga commented 8 months ago

Problem Description

Hi, I tried to compile the player_url_icy_i2s example and get following error:

In file included from C:\Users\User\Documents\Arduino\libraries\arduino-audio-tools-main\src/AudioHttp/HttpHeader.h:4,
                 from C:\Users\User\Documents\Arduino\libraries\arduino-audio-tools-main\src/AudioHttp/HttpChunkReader.h:3,
                 from C:\Users\User\Documents\Arduino\libraries\arduino-audio-tools-main\src/AudioHttp/HttpRequest.h:5,
                 from C:\Users\User\Documents\Arduino\libraries\arduino-audio-tools-main\src/AudioMetaData/MetaDataICY.h:7,
                 from C:\Users\User\Documents\Arduino\libraries\arduino-audio-tools-main\src/AudioMetaData/MetaData.h:6,
                 from C:\Users\User\Documents\Arduino\libraries\arduino-audio-tools-main\src/AudioTools.h:93,
                 from C:\Users\User\Desktop\player_url_icy_i2s\player_url_icy_i2s.ino:10:
C:\Users\User\Documents\Arduino\libraries\arduino-audio-tools-main\src/AudioBasic/StrExt.h: In constructor 'audio_tools::StrExt::StrExt(audio_tools::StrExt&&)':
C:\Users\User\Documents\Arduino\libraries\arduino-audio-tools-main\src/AudioBasic/StrExt.h:52:5: error: 'moveFrom' was not declared in this scope
     moveFrom(obj);
     ^~~~~~~~
C:\Users\User\Documents\Arduino\libraries\arduino-audio-tools-main\src/AudioBasic/StrExt.h:52:5: note: suggested alternative: 'copyFrom'
     moveFrom(obj);
     ^~~~~~~~
     copyFrom
C:\Users\User\Documents\Arduino\libraries\arduino-audio-tools-main\src/AudioBasic/StrExt.h: In member function 'audio_tools::StrExt& audio_tools::StrExt::operator=(audio_tools::StrExt&&)':
C:\Users\User\Documents\Arduino\libraries\arduino-audio-tools-main\src/AudioBasic/StrExt.h:63:5: error: 'moveFrom' was not declared in this scope
     moveFrom(obj);
     ^~~~~~~~
C:\Users\User\Documents\Arduino\libraries\arduino-audio-tools-main\src/AudioBasic/StrExt.h:63:5: note: suggested alternative: 'copyFrom'
     moveFrom(obj);
     ^~~~~~~~
     copyFrom

exit status 1

Compilation error: exit status 1

Device Description

ESP32

Sketch

player_url_icy_i2s example

Other Steps to Reproduce

No response

What is your development environment

Arduino 2.3.2

I have checked existing issues, discussions and online documentation

pschatzmann commented 8 months ago

I was about to commit some changes.. It should work again...