nakhonthai / ESP32APRS_T-TWR

APRS Software project device support LILYGO T-TWR Plus.
GNU General Public License v3.0
117 stars 18 forks source link

Platformio build error #6

Closed assada closed 1 year ago

assada commented 1 year ago
In file included from include/gui_lcd.h:17,
                 from src/gui_lcd.cpp:11:
include/main.h:39: warning: "I2C_SDA" redefined
 #define I2C_SDA (8)

In file included from /home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/cores/esp32/esp32-hal-gpio.h:29,
                 from /home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/cores/esp32/esp32-hal.h:83,
                 from /home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/cores/esp32/Arduino.h:36,
                 from include/gui_lcd.h:14,
                 from src/gui_lcd.cpp:11:
/home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/variants/esp32s3box/pins_arduino.h:43: note: this is the location of the previous definition
 #define I2C_SDA     8

In file included from include/gui_lcd.h:17,
                 from src/gui_lcd.cpp:11:
include/main.h:40: warning: "I2C_SCL" redefined
 #define I2C_SCL (9)

In file included from /home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/cores/esp32/esp32-hal-gpio.h:29,
                 from /home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/cores/esp32/esp32-hal.h:83,
                 from /home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/cores/esp32/Arduino.h:36,
                 from include/gui_lcd.h:14,
                 from src/gui_lcd.cpp:11:
/home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/variants/esp32s3box/pins_arduino.h:44: note: this is the location of the previous definition
 #define I2C_SCL    18

In file included from src/gui_lcd.cpp:11:
include/gui_lcd.h:20:10: fatal error: Time.h: No such file or directory

**************************************************************
* Looking for Time.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Time.h"
* Web  > https://registry.platformio.org/search?q=header:Time.h
*
**************************************************************

 #include "Time.h"
          ^~~~~~~~
compilation terminated.
Archiving .pio/build/esp32s3box/lib440/libAdafruit_GFX.a
In file included from src/main.cpp:12:
include/main.h:39: warning: "I2C_SDA" redefined
 #define I2C_SDA (8)

In file included from /home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/cores/esp32/esp32-hal-gpio.h:29,
                 from /home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/cores/esp32/esp32-hal.h:83,
                 from /home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/cores/esp32/Arduino.h:36,
                 from src/main.cpp:11:
/home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/variants/esp32s3box/pins_arduino.h:43: note: this is the location of the previous definition
 #define I2C_SDA     8

In file included from src/main.cpp:12:
include/main.h:40: warning: "I2C_SCL" redefined
 #define I2C_SCL (9)

In file included from /home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/cores/esp32/esp32-hal-gpio.h:29,
                 from /home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/cores/esp32/esp32-hal.h:83,
                 from /home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/cores/esp32/Arduino.h:36,
                 from src/main.cpp:11:
/home/assada/.platformio/packages/framework-arduinoespressif32@3.20009.0/variants/esp32s3box/pins_arduino.h:44: note: this is the location of the previous definition
 #define I2C_SCL    18

Indexing .pio/build/esp32s3box/lib440/libAdafruit_GFX.a
In file included from src/main.cpp:47:
include/gui_lcd.h:20:10: fatal error: Time.h: No such file or directory

**************************************************************
* Looking for Time.h dependency? Check our library registry!
*
* CLI  > platformio lib search "header:Time.h"
* Web  > https://registry.platformio.org/search?q=header:Time.h
*
**************************************************************

 #include "Time.h"
          ^~~~~~~~
compilation terminated.
Archiving .pio/build/esp32s3box/lib0bb/libWire.a
Indexing .pio/build/esp32s3box/lib0bb/libWire.a
Archiving .pio/build/esp32s3box/lib530/libAdafruit SSD1306.a
Indexing .pio/build/esp32s3box/lib530/libAdafruit SSD1306.a
Compiling .pio/build/esp32s3box/libfa3/TinyGPSPlus-ESP32/TinyGPSPlus.cpp.o
Compiling .pio/build/esp32s3box/lib622/FS/FS.cpp.o
Compiling .pio/build/esp32s3box/lib622/FS/vfs_api.cpp.o
Compiling .pio/build/esp32s3box/lib115/SPIFFS/SPIFFS.cpp.o
Compiling .pio/build/esp32s3box/libfb0/WiFi/WiFi.cpp.o
Compiling .pio/build/esp32s3box/libfb0/WiFi/WiFiAP.cpp.o
Compiling .pio/build/esp32s3box/libfb0/WiFi/WiFiClient.cpp.o
Compiling .pio/build/esp32s3box/libfb0/WiFi/WiFiGeneric.cpp.o
Compiling .pio/build/esp32s3box/libfb0/WiFi/WiFiMulti.cpp.o
Compiling .pio/build/esp32s3box/libfb0/WiFi/WiFiSTA.cpp.o
*** [.pio/build/esp32s3box/src/gui_lcd.cpp.o] Error 1
*** [.pio/build/esp32s3box/src/main.cpp.o] Error 1
============================================================================================================= [FAILED] Took 3.61 seconds =============================================================================================================
lyusupov commented 1 year ago

UNIX filesystem is case-sensitive... Just replace Time.h with time.h- the build goes fine afterwards...

lyusupov commented 1 year ago

@assada it could make sense to keep this ticket open until @nakhonthai will fix the minor issue in the future releases.