I need help setting up my libraries in Arduino

Board: LilyGo T-RGB
I tried following all of the directions on GitHub for this device
The Boards manager I installed : esp32 v2.0.11
The libraries I installed: LilyGo-T-RGB v1.0.3 , lvgl v8.3.11

The error when I try to compile:
fatal error: ExtensionIOXL9555.hpp: No such file or directory
#include <ExtensionIOXL9555.hpp>

I am not sure what else I need to install in order to have the example code compile successfully

I moved your topic to an appropriate forum category @jmethis .

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

1 Like

Hi @jmethis. Just as you use libraries in your sketch code, libraries may use other libraries. When you are using one of the libraries that does this, it is necessary to install the other libraries on which the library depends in addition to the library you are using directly in your sketch.

The "LilyGo-T-RGB" library has a dependency on the "SensorLib" library. You don't have the "SensorLib" library installed, so the compilation fails with this "No such file or directory" error.

You can solve it by installing the missing library.

I'll provide instructions you can follow to do that:

  1. Select Sketch > Include Library > Manage Libraries... from the Arduino IDE menus to open the "Library Manager" view in the left side panel.
  2. Type SensorLib in the "Filter your search..." field.
  3. Scroll down through the list of libraries until you see the "SensorLib" entry.
  4. You will see an "INSTALL" button at the bottom of the entry. Click the button.
  5. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    ⓘ Successfully installed library ...

Now try compiling or uploading your sketch again. Hopefully this time you won't have any errors and everything will work as expected.

1 Like

Awesome, thank you so much!

You are welcome. I'm glad if I was able to be of assistance.

Regards, Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.