Problems using SDL_image

Hello people!

I am using SDL in my little proyect and I have a strange problem: SDL_image
is included but not run.

I include SDL using the example of http://sol.planet-d.net/gp/ch01_vc6.html,
and SDL works fine, but I tried this method for add SDL_image to my proyect
and not run:

error LNK2001: unresolved external symbol _IMG_Load_RW

I think this is a .lib file is not found when the compiler is linking but I
not understand why.

What is your build environment? What does your Makefile look like,
specifically what does your link command look like? You might trying
to compile an example SDL_image program to see if your environment is
good.

ChrisOn 6/5/05, ALTAIR - wrote:

Hello people!

I am using SDL in my little proyect and I have a strange problem: SDL_image
is included but not run.

I include SDL using the example of http://sol.planet-d.net/gp/ch01_vc6.html,
and SDL works fine, but I tried this method for add SDL_image to my proyect
and not run:

error LNK2001: unresolved external symbol _IMG_Load_RW

I think this is a .lib file is not found when the compiler is linking but I
not understand why.


E-Mail: Chris Nystrom
Business: http://www.shaklee.net/austin
Blog: http://conversazione.blogspot.com/
AIM: nystromchris

Hello people!

I am using SDL in my little proyect and I have a strange problem: SDL_image
is included but not run.

I include SDL using the example of http://sol.planet-d.net/gp/ch01_vc6.html,
and SDL works fine, but I tried this method for add SDL_image to my proyect
and not run:

error LNK2001: unresolved external symbol _IMG_Load_RW

I think this is a .lib file is not found when the compiler is linking but I
not understand why.

The example you cite does not link in the library for SDL_image. You’ll
need the library SDL_image.lib, available on the SDL web site in the VC6
development SDL_image download. Link it in the same way you linked in
sdl.lib, and handle the DLL in the same manner.On Sun, 5 Jun 2005, ALTAIR - wrote:


Jeff Jackowski
http://ro.com/~jeffj/