Skip to content

Unable to compile any examples  #402

@AnalogGaze

Description

@AnalogGaze

Super new to ESP32 and coding in general here, I'm attempting to upload and run the FabGL examples using the Arduino IDE version 2.3.3 with version 1.0 of fabGL and version 2.0.17 of the esp32 board library and all I get is this:

`In file included from /Users/mac/Documents/Arduino/libraries/FabGL/src/dispdrivers/SSD1306Controller.h:45,
from /Users/mac/Documents/Arduino/libraries/FabGL/src/fabgl.h:293,
from /private/var/folders/s2/v_d5plx97bn5fzfd9n1hn7sc0000gn/T/.arduinoIDE-unsaved2024921-6784-rifhwa.64ng/AnsiTerminal/AnsiTerminal.ino:23:
/Users/mac/Documents/Arduino/libraries/FabGL/src/comdrivers/tsi2c.h:59:3: error: 'i2c_err_t' does not name a type; did you mean 'esp_err_t'?
i2c_err_t lastError;
^~~~~~~~~
esp_err_t
/Users/mac/Documents/Arduino/libraries/FabGL/src/comdrivers/tsi2c.h:147:3: error: 'i2c_t' does not name a type; did you mean 'ino_t'?
i2c_t * m_i2c;
^~~~~
ino_t

exit status 1

Compilation error: exit status 1`

Again super new to this kind of thing and no clue where to go from here. I have tried multiple different combos of the fabGL library and esp32 board library with no luck. Am I missing something simple?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions