`Makefile` does not find existing `SDL.h`.
Opened this issue · 2 comments
dreirund commented
When I run make
, it complains that it cannot find SDL.h
:
In file included from ui_state.h:4,
from tool_core.h:7,
from actions.cpp:1:
gui.h:5:10: fatal error: SDL.h: No such file or directory
5 | #include "SDL.h"
| ^~~~~~~
compilation terminated.
But I have in my system:
/usr/include/SDL/SDL.h
/usr/include/SDL2/SDL.h
Seems that you need to add some code that finds where the stuff is installed.
Regards!
dreirund commented
Here I attach a patch that changes the SDL include by prepending SDL/
: fix-sdl-include-path.patch.txt
.