Was stimmt nicht ? kann sich jemand sich die Fehler an sehen

Arduino: 1.8.19 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"


In file included from C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:1:0:

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h: In instantiation of 'DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT>::reply_t DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT>::retryCommand(uint8_t, uint8_t, uint16_t, bool) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal; uint8_t = unsigned char; uint16_t = unsigned int]':

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:585:21:   required from 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT>::setCommand(uint8_t, uint16_t) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal; uint8_t = unsigned char; uint16_t = unsigned int]'

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:276:19:   required from 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT>::pause() [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal]'

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:271:19:   required from here

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:571:43: error: no matching function for call to 'Mp3Notify::OnError(DFMiniMp3<SoftwareSerial, Mp3Notify>&, uint16_t&)'

             T_NOTIFICATION_METHOD::OnError(*this, reply.arg);

             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:88:17: note: candidate: static void Mp3Notify::OnError(uint16_t)

     static void OnError(uint16_t errorCode) {

                 ^~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:88:17: note:   candidate expects 1 argument, 2 provided

In file included from C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:1:0:

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h: In instantiation of 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT>::callNotification(DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT>::reply_t) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal]':

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:396:29:   required from 'bool DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD, T_CHIP_VARIANT>::abateNotification() [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify; T_CHIP_VARIANT = Mp3ChipOriginal]'

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:72:33:   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]'

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:713:14:   required from here

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:407:50: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'

             T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Usb, reply.arg);

             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:100:17: note: candidate: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)

     static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track) {

                 ^~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:100:17: note:   candidate expects 2 arguments, 3 provided

In file included from C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:1:0:

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:411:50: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'

             T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Sd, reply.arg);

             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:100:17: note: candidate: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)

     static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track) {

                 ^~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:100:17: note:   candidate expects 2 arguments, 3 provided

In file included from C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:1:0:

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:415:50: error: no matching function for call to 'Mp3Notify::OnPlayFinished(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources, uint16_t&)'

             T_NOTIFICATION_METHOD::OnPlayFinished(*this, DfMp3_PlaySources_Flash, reply.arg);

             Mein Englisch ist sehr schlecht würde mich über Hilfe Freuen

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:100:17: note: candidate: static void Mp3Notify::OnPlayFinished(DfMp3_PlaySources, uint16_t)

     static void OnPlayFinished(DfMp3_PlaySources source, uint16_t track) {

                 ^~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:100:17: note:   candidate expects 2 arguments, 3 provided

In file included from C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:1:0:

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:419:54: error: no matching function for call to 'Mp3Notify::OnPlaySourceOnline(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources)'

             T_NOTIFICATION_METHOD::OnPlaySourceOnline(*this, static_cast<DfMp3_PlaySources>(reply.arg));

             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:106:17: note: candidate: static void Mp3Notify::OnPlaySourceOnline(DfMp3_PlaySources)

     static void OnPlaySourceOnline(DfMp3_PlaySources source) {

                 ^~~~~~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:106:17: note:   candidate expects 1 argument, 2 provided

In file included from C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:1:0:

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:423:56: error: no matching function for call to 'Mp3Notify::OnPlaySourceInserted(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources)'

             T_NOTIFICATION_METHOD::OnPlaySourceInserted(*this, static_cast<DfMp3_PlaySources>(reply.arg));

             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:109:17: note: candidate: static void Mp3Notify::OnPlaySourceInserted(DfMp3_PlaySources)

     static void OnPlaySourceInserted(DfMp3_PlaySources source) {

                 ^~~~~~~~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:109:17: note:   candidate expects 1 argument, 2 provided

In file included from C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:1:0:

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:427:55: error: no matching function for call to 'Mp3Notify::OnPlaySourceRemoved(DFMiniMp3<SoftwareSerial, Mp3Notify>&, DfMp3_PlaySources)'

             T_NOTIFICATION_METHOD::OnPlaySourceRemoved(*this, static_cast<DfMp3_PlaySources>(reply.arg));

             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:112:17: note: candidate: static void Mp3Notify::OnPlaySourceRemoved(DfMp3_PlaySources)

     static void OnPlaySourceRemoved(DfMp3_PlaySources source) {

                 ^~~~~~~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:112:17: note:   candidate expects 1 argument, 2 provided

In file included from C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:1:0:

C:\Users\Berthold\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:431:43: error: no matching function for call to 'Mp3Notify::OnError(DFMiniMp3<SoftwareSerial, Mp3Notify>&, uint16_t&)'

             T_NOTIFICATION_METHOD::OnError(*this, reply.arg);

             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:88:17: note: candidate: static void Mp3Notify::OnError(uint16_t)

     static void OnError(uint16_t errorCode) {

                 ^~~~~~~

C:\Users\Berthold\Documents\Arduino\sketch_jan05a\sketch_jan05a.ino:88:17: note:   candidate expects 1 argument, 2 provided

exit status 1

Fehler beim Kompilieren für das Board Arduino Nano.


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

Mein Englisch ist sehr schlecht würde mich über Hilfe Freuen
Habe es schon 2X gebaut da hat es auf anhieb geklapt

Welche Software versuchst du zu kompilieren? Und welche Version der DFPlayer Mini Library hast du installiert?

Danke für die Schnelle Antwort
Habe den Fehler nach 3 Tagen suche gefunden.
habe die falsche DFPlayer version genommen.

Sollte ea nochmal Probleme geben: Oft hilft es tatsächlich die Fehlermeldung hier in die Suche einzugeben. Also du suchst in dem was dir angezeigt wird nach „error:“ und kopierst dann ein bisschen was in die Suche hier
Also zum Beispiel

Oft hatte jemand anders auch schon mal das Problem