Skip to content

Building with SSD1306 broken #262

@julianneswinoga

Description

@julianneswinoga

Building with INFO_DISPLAY_TYPE_I2C_SSD1306_128x64 gives a compile error:

2025-02-22 11:04:00,485:INFO:avr-g++ -o .pio/build/mksgenlv21/src/Core.cpp.o -c -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++17 -include src/macros/gcc/Macros.hpp -O2 -mmcu=atmega2560 -Wall -ffunction-sections -fdata-sections -flto -Werror -Wall -Wextra -Wno-unused-parameter -Wlogical-op -Wuseless-cast -Wshadow -Wunknown-pragmas -DPLATFORMIO=60116 -DARDUINO_AVR_ATmega2560 -DETL_NO_STL -DBOARD=BOARD_AVR_MKS_GEN_L_V21 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DARDUINO=10808 -I. -Isrc -Isrc/libs/TimerInterrupt -Isrc/libs/MappedDict -I/tmp/.pioOATFWGUI2.0.2/packages/framework-arduino-avr-megacore/libraries/EEPROM/src -I.pio/libdeps/mksgenlv21/InterruptStepper/include -I.pio/libdeps/mksgenlv21/InterruptStepper/src "-I.pio/libdeps/mksgenlv21/Embedded Template Library/include" "-I.pio/libdeps/mksgenlv21/Embedded Template Library" -I.pio/libdeps/mksgenlv21/avr-debugger/avr8-stub "-I.pio/libdeps/mksgenlv21/ESP8266 and ESP32 OLED driver for SSD1306 displays/src" -I.pio/libdeps/mksgenlv21/U8g2/src -I.pio/libdeps/mksgenlv21/LiquidTWI2 -I/tmp/.pioOATFWGUI2.0.2/packages/framework-arduino-avr-megacore/libraries/Wire/src -I.pio/libdeps/mksgenlv21/LiquidCrystal/src -I.pio/libdeps/mksgenlv21/AccelStepper/src -I.pio/libdeps/mksgenlv21/TMCStepper/src -I/tmp/.pioOATFWGUI2.0.2/packages/framework-arduino-avr-megacore/libraries/SoftwareSerial/src -I/tmp/.pioOATFWGUI2.0.2/packages/framework-arduino-avr-megacore/libraries/SPI/src -I.pio/libdeps/mksgenlv21/TinyGPSPlus/src -I/tmp/.pioOATFWGUI2.0.2/packages/framework-arduino-avr-megacore/cores/MegaCore -I/tmp/.pioOATFWGUI2.0.2/packages/framework-arduino-avr-megacore/variants/100-pin-arduino-mega src/Core.cpp
2025-02-22 11:04:00,513:ERROR:In file included from src/SSD1306_128x64_Display.hpp:2:0,
2025-02-22 11:04:00,513:ERROR:                 from src/b_setup.hpp:29,
                 from src/Core.cpp:7:
.pio/libdeps/mksgenlv21/ESP8266 and ESP32 OLED driver for SSD1306 displays/src/SSD1306Wire.h:36:10: fatal error: algorithm: No such file or directory
 #include <algorithm>
          ^~~~~~~~~~~
compilation terminated.

Due to https://github.com/ClutchplateDude/esp8266-oled-ssd1306 @ 4.6.0 being pulled in

Configuration_local.hpp.txt
oat_fw_gui_2025-02-22-11-03-04.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions