I downloaded SDL a couple of days ago and has been trying to get it to
compile with Mingw32 under win98
I downloaded the SDL-devel-1.0.8-mingw32.tar.gz which I assume is the right
file if I want to use Mingw32…
The problem though is that I get several pages of errors like for example:
c:\program\mingw32\include\SDL_error.h:53: parse error before 'code’
In file included from c:\program\mingw32\include\SDL.h:36,
from blit.c:3:
c:\program\mingw32\include\SDL_rwhops.h:90: redefenition of '__declspec’
c:\program\mingw32\include\SDL_main.h:63: ‘__declspec’ previously defined
here
and so on… these types of error messages shows up for all SDL_xxx.h
Does this problem has to do with how SDL is set up, if so how do you set it
up properly?
Any other reason?
Would be grateful for a quick answer
/ Fredrik