3 excellent graphics libs woes :(

Am having problems gettings some 2D drawing libraries to work. Am using SDL
1.2.7 (latest), Dev-C++ on windows. No Visual C++.

[SDL_draw 1.2.1]
I manage to import the included .dsp file into Dev-C++ and built
SDL_draw_dynamic.dll. I compile the source and I get a blank screen with Fatal
signal: Segmentation Fault (SDL Parachute Deployed).

[SDL_gfx 2.0.10]
Can’t import Visual Studio files :(. So I maually create a dll project and
build. I get:
[Linker error] undefined reference to _imp__aaellipseColor' [Linker error] undefined reference to_imp__aaellipseColor’
[Linker error] undefined reference to _imp__filledPolygonColor' [Linker error] undefined reference to_imp__polygonColor’
…etc…

[SDL_prim 0.2.2]
I manage to build SDL_prim.dll however I can’t seem to link it in with the test
sample file. I use compiling parameters -lmingw32 -lsdl_image -lsdlmain -lsdl
-lglu32 -lopengl32 -lglut -mwindows -lSDL_prim

… and all the dll is in the lib folder, .h files are in include, etc.–

Anyone knows or got these 3 excellent graphics libraries working under Windows?
Preferably Dev-C++ (http://www.bloodshed.net).