akemin-dayo / OpenSyobonAction

Open Syobon Action (オープンしょぼんのアクション) is an open-source cross-platform port of the unforgiving Japanese platformer using SDL.
97 stars 31 forks source link

SDL/SDL.h does not exist #13

Open SnivySquid65 opened 1 month ago

SnivySquid65 commented 1 month ago

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?

brlin-tw commented 3 weeks ago

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.