ramapcsx2 / gbs-control

GNU General Public License v3.0
784 stars 110 forks source link

SSD1306Wire.h: No such file or directory #335

Open Naoki73 opened 2 years ago

Naoki73 commented 2 years ago

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 commented 2 years ago

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 commented 1 year ago

i did that still the same error..

vitecd commented 1 year ago

Isn't it the Arduino library?

On Sat, Nov 19, 2022 at 7:47 PM mkubiak402 @.***> wrote:

i did that still the same error..

— Reply to this email directly, view it on GitHub https://github.com/ramapcsx2/gbs-control/issues/335#issuecomment-1320818109, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACMHVLYRG7DVVXVR2KTTNUDWJBZXFANCNFSM5YPJ5VFQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mo-lab commented 1 year ago

replace it with:

include

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 commented 1 year ago

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??