Pb with SDL_image & Bloodshed Dev-c++

I always got the same problem.
Error during compilation and this message error message from the linker :
c:\dev-c++\mappy\main.o(.text+0x25b8):main.cpp: undefined reference to
`IMG_Load’
I think that i need a file named like lSDL_image.a or SDL_image.a and use a
parameter like -lSDL_image but it doesn’t exit. May I compile the SDL_image(I
’ve downloaded the SDL_image.dll from SDL_image-1.2.2-win32.zip and the
SDL_image-devel-1.2.2-VC6.zip package) and how?
I use Bloodshed Dev-C++ with the mingw32 compiler.
Thanks for your help.

Hi!
This sounds quite stupid, as VC6 uses *.lib - format and mingw32: *.a -
format for libraries. You should compile all of sdl with devcpp (also
SDL_image) and then try again, as you’ll probably have the *.a - files only
after this compilation. Go ahead and continue trying - I in my pos have
never gotten devcpp and sdl to work, but this is only because I got vc++
right when I ran into this trouble … well, but I still compiled all of
SDL to have something compiled on my system - for my system. But the
executables should run anywhere, though.
Peace,
St0fF.

At 14:37 16.04.2002 -0400, you wrote:>I always got the same problem.

Error during compilation and this message error message from the linker :
c:\dev-c++\mappy\main.o(.text+0x25b8):main.cpp: undefined reference to
`IMG_Load’
I think that i need a file named like lSDL_image.a or SDL_image.a and use
a parameter like -lSDL_image but it doesn’t exit. May I compile the
SDL_image(I 've downloaded the SDL_image.dll from
SDL_image-1.2.2-win32.zip and the SDL_image-devel-1.2.2-VC6.zip
package) and how?
I use Bloodshed Dev-C++ with the mingw32 compiler.
Thanks for your help.

=========================================================
!!! COMMODORE – anything else is just a COMPROMISE !!!

St0fF 64 / N30PLA51A - 4 Love, Code, Composition & Design

What’s the difference between a VIC-Chip and a GeForce-GPU?
The Age …