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

SSD1306Wire.h: No such file or directory #335

Open
Naoki73 opened this issue Jun 11, 2022 · 6 comments
Open

SSD1306Wire.h: No such file or directory #335

Naoki73 opened this issue Jun 11, 2022 · 6 comments

Comments

@Naoki73
Copy link

Naoki73 commented Jun 11, 2022

I watched a video and looked at the guide here and over and over for how to install the software to the arduino and am getting an error with this

Arduino: 1.8.19 (Windows 10), Board: "LOLIN(WEMOS) D1 R2 & mini, 160 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:1MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

gbs-control:23:25: fatal error: SSD1306Wire.h: No such file or directory

#include "SSD1306Wire.h"

                     ^

compilation terminated.

exit status 1

SSD1306Wire.h: No such file or directory

Invalid library found in E:\Arduino\libraries\ESPAsyncTCP-master: no headers files (.h) found in E:\Arduino\libraries\ESPAsyncTCP-master

Invalid library found in E:\Arduino\libraries\ESPAsyncWebServer-master: no headers files (.h) found in E:\Arduino\libraries\ESPAsyncWebServer-master

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

What do I do?

@mo-lab
Copy link

mo-lab commented Jul 11, 2022

go to https://github.com/ThingPulse/esp8266-oled-ssd1306
download the zip file and add it to your IDE manually
by going to sketch -> include library -> add .zip library

@mkubiak402
Copy link

i did that still the same error..

@vitecd
Copy link

vitecd commented Nov 20, 2022 via email

@mo-lab
Copy link

mo-lab commented Dec 7, 2022

replace it with:
#include <Adafruit_SSD1306.h>

it might work
then if you are still having problems with your code I suggest using PlatformIO instead of Arduino IDE
https://www.youtube.com/watch?v=5edPOlQQKmo

@HornheaDD
Copy link

I am having this same exact issue. I followed the RetroRGB tutorial as well as tried to follow the Software Setup guide and I am still getting this error.

Ive got 3 COM ports that show up and all 3 of them end up with the same exact error. I have installed the libraries, I tried compiling, I tried downloading gbs-control-master, extracting and removing -master, and nothing is working.

Ive tried it on 2 ESP boards and the same thing is happening. What am I doing wrong here??

@acjohnson
Copy link

It's too bad no one ever took the time to respond to this until now, but I ran into the same thing after watching Voultar's GBS-Control video. The problem is that I put the libraries in the incorrect location...

What helped me was to just use the Arduino IDE UI to install the libraries from the downloaded zip archives (eg. Sketch -> Include Library -> Add .ZIP Library)

In this case I just browsed to the esp8266-oled-ssd1306-master.zip file and it installed into the correct location instantly solving this error message.

And I don't think this is a misstep in Voultar's video, it's just that I screwed up the steps myself 😜

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

6 participants