SDL_Error could no be located in the dynamic link library SDL.dll

Hello developers,

When I try to execute my program on Windows I get message: ‘The procedure entry point SDL_Error could not be located in the dynamic link library SDL.dll’ and program exits and if I start to debugg the program it works fine, until I try to close it, because I got then segmentation fault

I’m using Dev-C++ with SDL 1.2.4

On Linux Fedora Core 3 with gcc 3.4.2 and SDL 1.2.8 always when I execute program I get Segmentation fault. Gdb said 0x0804bd in close (). As far as I understand gdb a program crushes at line ‘if (SDL_Init (SDL_INIT_VIDEO) != 0)’

If aynone would like to see a source code, fill free to write the email (@Marek_Skorkowski).

Thanks in advance
Marun----------------------------------------------------
Jaki b?dzie dla Ciebie 2005 rok?
Jaki b?dzie Tw?j partner w nowym roku?
Jakie wa?ne decyzje czekaj? na Ciebie, sprwad?:
http://klik.wp.pl/?adr=www.horoskop.wp.pl%2Fwrozkilista.html%3Fkat%3D31594&sid=294

Hello developers,

When I try to execute my program on Windows I get message: ‘The procedure entry point SDL_Error could not be located in the dynamic link library SDL.dll’ and program exits and if I start to debugg the program it works fine, until I try to close it, because I got then segmentation fault

I’m using Dev-C++ with SDL 1.2.4

This has been fixed with SDL 1.2.8
Make sure you edit SDL_audio.h and remove SDLCALL from the line that doesn’t
compile, due to a bug in gcc’s parser under Windows.

See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment