I am trying to use SDL with C language sublime text and cygwin
Basically i downloaded the SDL devel mingw32 tar thing and unzipped it
then i copied the includes to cygwin/usr/include as well as the lib from the unzipped file to cygwin lib
also i moved the SDL.dll to the directory where my file written in c is and i included it with #include "SDL.h"
when i tried to compile it i get this error
$ gcc -o sdl sdl.c
sdl.c:1:17: fatal error: SDL.h: No such file or directory
#include <SDL.h>
^
compilation terminated.
also this is the file i am trying to compile
#include "SDL.h"
#include <stdio.h>
int main(int argc, char *argv[]){
}
can anyone help me out with employing SDL in my programs? i dont know how to make it work and what is missing