Error compiling for board DOIT ESP32 DEVKIT V1 - Bitcoin Ticker

Hello!

I'm beginer with Arduino, I know how to compile and make ease programs. This time my friend bought ready project Bitcoin ticker - with ESP32. Program is ready to compile and send to ESP but I have error during compiling.

I already tried to find the solution on google:

  • Delete libraries and boards and installing them one more time
  • Trying few different libraries
    -Trying diffrent board setting
  • Checking ESP with examples: Blink and Wifi Scan - both are workin properly

This is the bitcoin ticker: [https://www.the-diy-life.com/bitcoin-ticker-using-an-esp32-and-oled-display/]

Anyway my error is like that:

Arduino: 1.8.13 (Windows 10), Board: "DOIT ESP32 DEVKIT V1, 80MHz, 921600, None"

WARNING: library iSYNC_BC95_Arduino claims to run on avr architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).

In file included from C:\Users\Kuba\OneDrive\Dokumenty\Arduino\libraries\iSYNC_BC95_Arduino\src/BC95Udp.h:12,

                 from C:\Users\Kuba\OneDrive\Dokumenty\Arduino\libraries\iSYNC_BC95_Arduino\src/NTPClient.h:4,

                 from E:\Pulpit\Emil ESP32\Emil\Emil.ino:12:

C:\Users\Kuba\OneDrive\Dokumenty\Arduino\libraries\iSYNC_BC95_Arduino\src/BC95.h:77:10: error: ISO C++ forbids declaration of 'BC95' with no type [-fpermissive]

     BC95();

          ^

C:\Users\Kuba\OneDrive\Dokumenty\Arduino\libraries\iSYNC_BC95_Arduino\src/BC95.h:80:10: error: extra qualification 'BC95Class::' on member 'setExternalBuffer' [-fpermissive]

     void BC95Class::setExternalBuffer(char *sbuffer, size_t sbuffersize);

          ^~~~~~~~~

Multiple libraries were found for "WiFi.h"

 Used: C:\Users\Kuba\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.4\libraries\WiFi

 Not used: C:\Program Files (x86)\Arduino\libraries\WiFi

 Not used: C:\Users\Kuba\OneDrive\Dokumenty\Arduino\libraries\WiFiEspAT

exit status 1

Error compiling for board DOIT ESP32 DEVKIT V1.



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I really dont know how to fix this issue. I will really appreciate if someone can tell me how to fix this. If you need more details, please let me know.

You could try the following.

Open C:\Users\Kuba\OneDrive\Dokumenty\Arduino\libraries\iSYNC_BC95_Arduino\src/BC95.h

Go to line 77 and comment out that line (it looks like a declaration of a constructor, but the name is invalid and I can not find the implementation in the source file). After editing, this line should look like this:

    //BC95();

Go to line 80 and remove the BC95Class:: part. After editing, this line should look like this:

    void setExternalBuffer(char *sbuffer, size_t sbuffersize);

Save the file and try again.

P.S. I do not expect much from this, also see the warning.

Thanks for your reply.
Unfortunatelly that didnt help.

Anyway I found the soultion:

I removed Library: iSYNC_BC95_Arduino

and I install this one (for NTClient.H)

After that, everything works perfect!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.