sorry, but its late at night and i dont know why i am getting the following error when trying to compile an SDL app
[Linker error] undefined reference to `WinMain@16’
now, i have -lsdl in the compiler options, and i have included the sdl lib and all, got the dll’s in the system dir, got all the libs in the library dir and all the headers in the righ place, i got now idea why it aint woerking…
gcc.exe “C:\SDL-1.2.4 est estoverlay.c” -o “C:\SDL-1.2.4 est estoverlay.exe” -lsdl -s -I"C:\DEV-CPP\include" -L"C:\DEV-CPP\lib"
C:\DEV-CPP\lib/libmingw32.a(main.o)(.text+0x7f):main.c: undefined reference to `WinMain@16’
[This message has been edited by MrShoe (edited 09-23-2002).]