rxi / lite

A lightweight text editor written in Lua
MIT License
7.42k stars 353 forks source link

build.sh script not working for me on Debian Buster. Am I missing a step? #264

Closed ghost closed 3 years ago

ghost commented 3 years ago

src/renderer.h:4:10: fatal error: SDL2/SDL.h: No such file or directory

include <SDL2/SDL.h>

I have not built an app from source before. I chmod +x build.sh and then ./build.sh to execute it, but the compiler gives me this message. Am I missing something?

quou commented 3 years ago

You need to have SDL installed. Try running sudo apt install libsdl2-dev before compiling.

ghost commented 3 years ago

Yea, I was scrolling in the previous issues and saw this just a minute ago. I am missing the dev package for libSDL2. Thanks!