ImpulseAdventure / GUIslice

GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
https://www.impulseadventure.com/elec/guislice-gui.html
MIT License
1.12k stars 204 forks source link

Arduino 1.8.19, Ubuntu 22/04, On compile: "fatal error: SDL/SDL.h: No such file" #524

Closed JamesNewton closed 6 months ago

JamesNewton commented 6 months ago

Describe the bug

Error message: "/home/jamesn/Arduino/libraries/GUIslice/src/GUIslice_drv_sdl.h:51:12: fatal error: SDL/SDL.h: No such file or directory #include <SDL/SDL.h>"

Arduino IDE 1.8.19 Ubuntu 22.04

Device hardware

Checklist to try first

Most display/touch issues can be identified by working through the steps in the Configuring GUIslice guide.

Please confirm whether:

Expected behavior

The .ino file should compile.

Additional info

I've installed sdllib into the OS: apt-get install libsdl2-dev and restarted the IDE. I see no way to install SDL into the IDE. I believe I did the install correctly.

JamesNewton commented 6 months ago

Oh good grief. GUISlice doesn't even support the Pi Pico under Arduino IDE. It only supports the RasPi when running Linux. y'all have every other processor under Arduino IDE but not the Pico. My bad, the option I was selecting is for linux running on the RasPi, not for the IDE running on Linux programming a bare metal RasPi Pico. Silly me.