SDL_gfx.LIB / SDL_gfx.DLL - can't seem to get to work

SDL_gfx.LIB / SDL_gfx.DLL - can’t seem to get to work…

Hi Again,

I just now am testing SDL_gfx.LIB
I added it to the project, and use a rotozoom function,
but receive this link error:-----------------------------------------------------------------------------------------------

[Linker error] undefined reference to `_imp__rotozoomSurface’
ld returned 1 exit status

Please look at this screenshot:
http://silentheroproductions.com/images/SDL_gfx-ISSUE.gif

I am hoping it is something i am doing wrong,
and not a problem with SDL_gfx.LIB file…

Jesse “JeZ+Lee” Palser
SLNTHERO at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

hi jesse.p
couple of things to check:

a) looks like SDL_gfx is written in c. and your project is written in c++.
are you doing an extern “C” the SDL_gfx header files?
b) imp* is due to the linker not able to find the method… are you
adding the sdl_gfx.lib to the link path?

regards,
s-

Jesse P. wrote:

SDL_gfx.LIB / SDL_gfx.DLL - can’t seem to get to work…

Hi Again,

I just now am testing SDL_gfx.LIB
I added it to the project, and use a rotozoom function,
but receive this link error:-----------------------------------------------------------------------------------------------
[Linker error] undefined reference to `_imp__rotozoomSurface’
ld returned 1 exit status

Please look at this screenshot:
http://silentheroproductions.com/images/SDL_gfx-ISSUE.gif

I am hoping it is something i am doing wrong,
and not a problem with SDL_gfx.LIB file…

Jesse “JeZ+Lee” Palser
SLNTHERO@aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com


SDL mailing list
SDL@lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Sheshadri Mantha | Principal Software Engineer
SeaChange International, Inc.
2655 Campus Drive, Suite 250
San Mateo, CA 94403
www.schange.com | @Sheshadri_Mantha
Direct: AZ: 520-408-0521; CA: 650-645-4040
Main: 650-645-4000 | Fax: 650-645-4115
Yahoo! IM: babamantha | AIM: sheshmantha
Skype: sheshadrimantha
This e-mail and any attachments may contain
information which is SeaChange International
confidential. The information enclosed is intended
only for the addressees herein and may not be
copied or forwarded without permission from
SeaChange International.