🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Librerías ESP32 vs Arduino

    Foro español
    2
    12
    19.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      oscillator
      last edited by

      @pirix said in Librerías ESP32 vs Arduino:

      Cómo solventar este problema de librerías entre Arduino y ESP32?

      When I compile for the Core2 I also get warnings, eg:

      Multiple libraries were found for "SD.h"
      Used: /home/staffan/.arduino15/packages/m5stack/hardware/esp32/1.0.9/libraries/SD
      Not used: /home/staffan/Arduino/libraries/SD

      but that doesn't stop my compilation.

      Have you selected the right board in the Tools menu?

      1 Reply Last reply Reply Quote 0
      • P
        PiriX
        last edited by

        Yes, I did. M5Stack-ESP32

        O 1 Reply Last reply Reply Quote 0
        • O
          oscillator @PiriX
          last edited by

          @pirix said in Librerías ESP32 vs Arduino:

          Yes, I did. M5Stack-ESP32

          Strange. Can you post the whole output of your compilation? Maybe there is some earlier error.

          What OS are you running?

          P 1 Reply Last reply Reply Quote 0
          • P
            PiriX
            last edited by

            That's what I trying to run

            https://github.com/frittna/Crypto_Coin_Ticker

            I'm on a MacBook Pro 16" Intel i9, macOS Big Sur

            1 Reply Last reply Reply Quote 0
            • P
              PiriX @oscillator
              last edited by

              @oscillator Arduino: 1.8.16 (Mac OS X), Board: "M5Stack-Core-ESP32, QIO, 80MHz, Default, 921600, None"

              Multiple libraries were found for "WiFi.h"
              Used: /Users/pirix/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi
              Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
              In file included from /Users/pirix/Documents/Arduino/Crypto_Coin_Ticker-master/Crypto_Coin_Ticker/Crypto_Coin_Ticker.ino:20:0:
              Multiple libraries were found for "SD.h"
              /Users/pirix/Documents/Arduino/libraries/Timezone/src/Timezone.h:16:66: fatal error: TimeLib.h: No such file or directory
              Used: /Users/pirix/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/SD
              compilation terminated.
              Not used: /Applications/Arduino.app/Contents/Java/libraries/SD
              exit status 1
              Error compiling for board M5Stack-Core-ESP32.

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

              1 Reply Last reply Reply Quote 0
              • O
                oscillator
                last edited by oscillator

                @pirix said in Librerías ESP32 vs Arduino:

                Documents/Arduino/libraries/Timezone

                Do you have the Timezone library installed?

                In the docs for the Timezone library it says:
                "The Timezone library is designed to work in conjunction with the Arduino Time library, which must also be installed on your system."

                There is also a note in the beginning of the code:

                // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                // !!! Library versions should match to mentioned below !!!
                // !!!!!!!!!!!! Otherwise code won't work !!!!!!!!!!!!!!!!!

                Do you have the right version of the libraries installed?

                P 1 Reply Last reply Reply Quote 0
                • P
                  PiriX @oscillator
                  last edited by

                  @oscillator Exactly what they recommend

                  1 Reply Last reply Reply Quote 0
                  • O
                    oscillator
                    last edited by oscillator

                    You seem to have prepared everything that they want...

                    Also, I am running on GNU/Linux so...sorry, can't help you...

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      PiriX @oscillator
                      last edited by

                      @oscillator Thank you so much for your interest!

                      1 Reply Last reply Reply Quote 1
                      • O
                        oscillator
                        last edited by

                        @pirix said in Librerías ESP32 vs Arduino:

                        Arduino/libraries/Timezone/src/Timezone.h:16:66: fatal error: TimeLib.h: No such file or directory

                        Hmmm, found this: https://forum.arduino.cc/t/timelib-h-no-such-file-or-directory/413110/4

                        I know they talk about Windows, and you run OSX, but maybe this applies to you too?

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          PiriX @oscillator
                          last edited by

                          @oscillator Thank you!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post