[SDL] Rotozoom errors...

Edward Byard e_byard at yahoo.co.uk
Mon Sep 11 01:05:47 PDT 2006

You need to add the library containing rotozoom or whatever to the build.

If using MSVC it in Project->Properties->Linker->Linker Input

There will probably be things in the linker input link like SDL.lib, SDL_main.lib, odbc32.dll etc etc...

L-28C <leo28c at gmail.com> wrote: Hello Peter Mulholland!
Erm...  I have to... link to it?  What file is it that I must link to? 
Thanks!  ;-)

Peter Mulholland wrote:
> 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.

~ Leo, M@$73r L3170, Sulfurik, Kixdemp, L-28C... Whatever you wanna call me.

SDL mailing list
SDL at libsdl.org

 All New Yahoo! Mail – Tired of Vi at gr@! come-ons? Let our SpamGuard protect you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060911/115a2453/attachment-0008.htm>

More information about the SDL mailing list