Open icculus opened 8 months ago
I have SDL3/SDL.h
in the proper location and am using gcc -I/home/matt/tmp/ControllerImage/SDL/include controllerimage.c
and I still get:
In file included from controllerimage.c:9:
controllerimage.h:13:10: fatal error: SDL3/SDL.h: No such file or directory
13 | #include <SDL3/SDL.h>
| ^~~~~~~~~~~~
compilation terminated.
No matter where I have those files, it still won't work. This definitely needs to be documented better. Just trying to use cmake with mkdir build; cd build && cmake ..
doesn't end up building any of the libraries.
Weird...there's definitely a file at /home/matt/tmp/ControllerImage/SDL/include/SDL3/SDL.h ...?!
>_ file /home/matt/tmp/ControllerImage/SDL/include/SDL3/SDL.h
/home/matt/tmp/ControllerImage/SDL/include/SDL3/SDL.h: C source, ASCII text
Just inline in the headers is probably sufficient.