adriancable/8086tiny

fatal error: SDL.h: No such file or directory

Closed this issue · 9 comments

What version the 8086tiny need? i have SDL2

When i run 'make' the output is this:

cc 8086tiny.c sdl-config --cflags --libs -O3 -fsigned-char -std=c99 -o 8086tiny
/bin/sh: 1: sdl-config: not found
8086tiny.c:18:10: fatal error: SDL.h: No such file or directory
_ 18 | #include "SDL.h"
___ | ^~~~~~~
compilation terminated.
make: *** [Makefile:16: 8086tiny] Error 1

ssieb commented

Did you install the SDL dev package?

Hello @NickWilde263, hello @ssieb,

I believe 8086tiny requires the SDL1 package. You should be able to install both SDL1 and SDL2 side by side on the same system.

Thank you!

you need to install libsdl1.2-dev
On ubuntu type: apt install libsdl1.2-dev

you need to install libsdl1.2-dev
On ubuntu type: apt install libsdl1.2-dev

ok thanks it solved

how do i close issue in github?

Just click the close button.

Just click the close button.

the close with comment?

Just click the close button.

the close with comment?

yeb

ok found it