Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not find ESP_IOExander.h? #36

Open
jerrylong-km opened this issue May 27, 2024 · 5 comments
Open

Can not find ESP_IOExander.h? #36

jerrylong-km opened this issue May 27, 2024 · 5 comments

Comments

@jerrylong-km
Copy link

I compiled 3wireSPI_RGB example, but reported "Can not find ESP_IOExpander.h" error, I checked the library files, there is no ESP_IOExpander.h file, should I delete this line in RGB.h?
6

@Lzw655
Copy link
Collaborator

Lzw655 commented May 27, 2024

Hi @jerrylong-km, this library relies on another library ESP32_IO_Expander. You can check the information here and should install it instead of changing the source code.

@jerrylong-km
Copy link
Author

jerrylong-km commented May 27, 2024 via email

@karllambrechts
Copy link

karllambrechts commented Jan 24, 2025

Hi,
I have the same problem:

fatal error: ESP_IOExpander.h: No such file or directory
13 | #include "ESP_IOExpander.h"

The file ESP_IOExpander.h is nowhere in the directories or subdirectories. However the library ESP32_IO_Expander (note the extra "_") is in the list under "libraries". I checked the page indicated by Lzw655 ([here: (https://github.com/esp-arduino-libs/ESP32_Display_Panel#dependencies-and-versions)), but i did not find the relevant information. Where can I find?
(Greatly appreciated because I burned already many many hours on this issue - afraid of asking stupid questions ;-) - Google and chatgpt are no help )

@Lzw655
Copy link
Collaborator

Lzw655 commented Jan 24, 2025

Hi @karllambrechts,

No worries, please feel free to ask questions. I'm sorry you encountered this issue. I think you are using the latest ESP32_IO_Expander v1.x version, which is incompatible with ESP32_Display_Panel v0.x. You need to reinstall it to the v0.x version.

@karllambrechts
Copy link

Hi,

Indeed, following versions were installed: ESP32_Display_Panel v0.2.2, and ESP32_IO_Expander v1.0.1.
I changed to ESP32_IO_Expander v0.1.0.
The former error :
fatal error: ESP_IOExpander.h: No such file or directory
13 | #include "ESP_IOExpander.h"
was no longer there, but unfortunately this gives: (3x)
error 'ESP_Panel' does not name a type; did you mean 'ESP_PanelLcd'?
57 | ESP_Panel *panel = nullptr;
What version combinations of ESP32_Display_Panel , and ESP32_IO_Expander or worth trying? (In combination with which example?)

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants