8086tiny icon indicating copy to clipboard operation
8086tiny copied to clipboard

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

Open FoxieFlakey opened this issue 5 years ago • 8 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

FoxieFlakey avatar Jul 20 '20 06:07 FoxieFlakey

Did you install the SDL dev package?

ssieb avatar Jul 20 '20 07:07 ssieb

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!

tkchia avatar Jul 20 '20 12:07 tkchia

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

the-loan-wolf avatar Jun 16 '21 12:06 the-loan-wolf

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

ok thanks it solved

FoxieFlakey avatar Jun 19 '21 11:06 FoxieFlakey

how do i close issue in github?

FoxieFlakey avatar Jun 19 '21 11:06 FoxieFlakey

Just click the close button.

raspiduino avatar Jun 19 '21 14:06 raspiduino

Just click the close button.

the close with comment?

FoxieFlakey avatar Jun 20 '21 13:06 FoxieFlakey

Just click the close button.

the close with comment?

yeb

raspiduino avatar Jun 20 '21 13:06 raspiduino

ok found it

FoxieFlakey avatar Nov 08 '22 11:11 FoxieFlakey