You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assume you installed SDL2 and you know the headers are in /usr/include/SDL2? Well, in that case you want your include directory to be /usr/include because the #include line shows a directory in it: SDL2/SDL.h. So, try -l/usr/include instead
root@kali:~/ICSim# gcc -I/usr/include/SDL2 -c -o icsim.o icsim.c
icsim.c:19:10: fatal error: SDL2/SDL.h: No such file or directory
19 | #include <SDL2/SDL.h>
| ^~~~~~~~~~~~
compilation terminated.
The text was updated successfully, but these errors were encountered: