[SDL] Rotozoom errors...

Peter Mulholland darkmatter at freeuk.com
Sun Sep 10 17:54:47 PDT 2006

Hello L-28C,

Monday, September 11, 2006, 1:20:25 AM, you wrote:

> Hello everyone!
> When I try to use SDL_rotozoom, I get the following linker error: (VC++
> 2005)

> Game.obj : error LNK2019: unresolved external symbol 
> __imp__rotozoomSurface referenced in function "public: int __thiscall 
> Game::Init(void)" (?Init at Game@@QAEHXZ)

> The only references to it in my program is the #include "SDL_rotozoom.h"
> and a call to rotozoomSurface()...  Why is this?  Thanks!

Either you are not correctly linking to the SDL_rotozoom library, or
the prototype in the header file does not have extern "C" on it.

Best regards,
 Peter                            mailto:darkmatter at freeuk.com

More information about the SDL mailing list