Librerías ESP32 vs Arduino
-
@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/SDbut that doesn't stop my compilation.
Have you selected the right board in the Tools menu?
-
Yes, I did. M5Stack-ESP32
-
@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?
-
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
-
@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. -
@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?
-
@oscillator Exactly what they recommend
-
You seem to have prepared everything that they want...
Also, I am running on GNU/Linux so...sorry, can't help you...
-
@oscillator Thank you so much for your interest!
-
@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?
-
@oscillator Thank you!