OpenSyobonAction icon indicating copy to clipboard operation
OpenSyobonAction copied to clipboard

SDL/SDL.h does not exist

Open SnivySquid65 opened this issue 1 year ago • 1 comments

When attempting to compile, the following log appears:

gcc -c main.cpp In file included from main.h:1, from main.cpp:1: DxLib.h:4:10: fatal error: SDL/SDL.h: No such file or directory 4 | #include <SDL/SDL.h> | ^~~~~~~~~~~ compilation terminated. make: *** [Makefile:4: main.o] Error 1

Any way to get this library, or is the code depreciated?

SnivySquid65 avatar Aug 03 '24 23:08 SnivySquid65

Any way to get this library, or is the code depreciated?

Please refer to the SDL installation documentation. OS distributions may also provide packages that can satisfy the dependency.

brlin-tw avatar Aug 18 '24 21:08 brlin-tw