Problem bei Installation

Hi,

ich versuche gerade die Affenbox auf der AiO zu installieren. Klappt leider nicht :confused:

Habe die Arduino IDE wie bei Leiterkarten Piraten und hier im Forum beschrieben eingerichtet, dann noch die AceButton librarie installiert (die hatte der installer auch bemängelt) und bekomme jetzt diese Fehlermeldung (die ich nicht verstehe), siehe unten. Davor noch for the sake of Komplettheit was ich in der Configurations.h einbgestellt habe:

  • #define AiO auskommentiert,
  • #define FIVEBUTTONS auskommentiert

Bin euch für jegliche Hilfe sehr dankbar!!

Arduino: 1.8.19 (Mac OS X), Board: "LGT8F328, Default (64), External (assumes 32MHz crystal), 16 MHz, 328P-LQFP32 (e.g. MiniEVB nano-style and WAVGAT)"

In file included from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.h:3:0,
                 from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:2:
/Users/alex/Documents/Arduino/libraries/DFPlayer_Mini_Mp3_by_Makuna/src/DFMiniMp3.h: In instantiation of 'uint16_t DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT>::listenForReply(uint8_t) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal; uint16_t = unsigned int; uint8_t = unsigned char]':
/Users/alex/Documents/Arduino/libraries/DFPlayer_Mini_Mp3_by_Makuna/src/DFMiniMp3.h:223:27:   required from 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT>::loop() [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal]'
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:625:16:   required from here
/Users/alex/Documents/Arduino/libraries/DFPlayer_Mini_Mp3_by_Makuna/src/DFMiniMp3.h:598:62: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'
                         T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Usb, replyArg);
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:112:17: note: candidate: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)
     static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track)
                 ^~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:112:17: note:   candidate expects 2 arguments, 3 provided
In file included from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.h:3:0,
                 from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:2:
/Users/alex/Documents/Arduino/libraries/DFPlayer_Mini_Mp3_by_Makuna/src/DFMiniMp3.h:603:62: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'
                         T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Sd, replyArg);
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:112:17: note: candidate: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)
     static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track)
                 ^~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:112:17: note:   candidate expects 2 arguments, 3 provided
In file included from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.h:3:0,
                 from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:2:
/Users/alex/Documents/Arduino/libraries/DFPlayer_Mini_Mp3_by_Makuna/src/DFMiniMp3.h:607:62: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'
                         T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Flash, replyArg);
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:112:17: note: candidate: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)
     static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track)
                 ^~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:112:17: note:   candidate expects 2 arguments, 3 provided
In file included from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.h:3:0,
                 from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:2:
/Users/alex/Documents/Arduino/libraries/DFPlayer_Mini_Mp3_by_Makuna/src/DFMiniMp3.h:612:66: error: no matching function for call to 'Mp3Notify::OnPlaySourceOnline(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources)'
                         T_NOTIFICATION_METHOD::OnPlaySourceOnline(*this, static_cast<DfMp3_PlaySources>(replyArg));
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:94:17: note: candidate: static void Mp3Notify::OnPlaySourceOnline(DfMp3_PlaySources)
     static void OnPlaySourceOnline(DfMp3_PlaySources source)
                 ^~~~~~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:94:17: note:   candidate expects 1 argument, 2 provided
In file included from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.h:3:0,
                 from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:2:
/Users/alex/Documents/Arduino/libraries/DFPlayer_Mini_Mp3_by_Makuna/src/DFMiniMp3.h:617:68: error: no matching function for call to 'Mp3Notify::OnPlaySourceInserted(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources)'
                         T_NOTIFICATION_METHOD::OnPlaySourceInserted(*this, static_cast<DfMp3_PlaySources>(replyArg));
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:100:17: note: candidate: static void Mp3Notify::OnPlaySourceInserted(DfMp3_PlaySources)
     static void OnPlaySourceInserted(DfMp3_PlaySources source)
                 ^~~~~~~~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:100:17: note:   candidate expects 1 argument, 2 provided
In file included from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.h:3:0,
                 from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:2:
/Users/alex/Documents/Arduino/libraries/DFPlayer_Mini_Mp3_by_Makuna/src/DFMiniMp3.h:622:67: error: no matching function for call to 'Mp3Notify::OnPlaySourceRemoved(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources)'
                         T_NOTIFICATION_METHOD::OnPlaySourceRemoved(*this, static_cast<DfMp3_PlaySources>(replyArg));
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:106:17: note: candidate: static void Mp3Notify::OnPlaySourceRemoved(DfMp3_PlaySources)
     static void OnPlaySourceRemoved(DfMp3_PlaySources source)
                 ^~~~~~~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:106:17: note:   candidate expects 1 argument, 2 provided
In file included from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.h:3:0,
                 from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:2:
/Users/alex/Documents/Arduino/libraries/DFPlayer_Mini_Mp3_by_Makuna/src/DFMiniMp3.h:626:55: error: no matching function for call to 'Mp3Notify::OnError(DFMiniMp3<SoftwareSerial, Mp3Notify>&, uint16_t&)'
                         T_NOTIFICATION_METHOD::OnError(*this, replyArg);
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:7:17: note: candidate: static void Mp3Notify::OnError(uint16_t)
     static void OnError(uint16_t errorCode)
                 ^~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:7:17: note:   candidate expects 1 argument, 2 provided
In file included from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.h:3:0,
                 from /Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:2:
/Users/alex/Documents/Arduino/libraries/DFPlayer_Mini_Mp3_by_Makuna/src/DFMiniMp3.h:640:51: error: no matching function for call to 'Mp3Notify::OnError(DFMiniMp3<SoftwareSerial, Mp3Notify>&, uint16_t&)'
                     T_NOTIFICATION_METHOD::OnError(*this, replyArg);
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:7:17: note: candidate: static void Mp3Notify::OnError(uint16_t)
     static void OnError(uint16_t errorCode)
                 ^~~~~~~
/Users/alex/development/arduino/TonUINO-Affenbox/Affenbox/Affenbox.ino:7:17: note:   candidate expects 1 argument, 2 provided
exit status 1
Fehler beim Kompilieren für das Board LGT8F328.


Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.

Welche Version der DF Player Mini Library hast du installiert?

Die 1.1.0 von Makuna

Dann probier mal 1.0.7. Die Version 1.1.0 hat Änderungen für die jede Firmware erst angepasst werden muss.

Black Magic :mage:

Vielen Dank.

Haha, ja, sehe gerade dein post, ja steht da. Classic me. Vielen Dank dir!!!