Rotozoom errors

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!–
~ Leo, M@$73r L3170, Sulfurik, Kixdemp, L-28C… Whatever you wanna call me.

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:@Peter_Mulholland

Hello Peter Mulholland!
Erm… I have to… link to it? What file is it that I must link to?
Thanks! :wink:

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.

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 wrote: Hello Peter Mulholland!
Erm… I have to… link to it? What file is it that I must link to?
Thanks! :wink:

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
http://www.libsdl.org/mailman/listinfo/sdl


All New Yahoo! Mail ? Tired of Vi at gr@! come-ons? Let our SpamGuard protect you.

Yeah, I know, but what’s the exact filename of the file? It’s not on
the zip… Thanks! :wink:

Edward Byard wrote:> 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 <@Leo_Cabrera>/ 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
 >> __i mp__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
http://www.libsdl.org/mailman/listinfo/sdl

All New Yahoo! Mail
http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/spamguard/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html
? Tired of Vi at gr@! come-ons? Let our SpamGuard protect you.



SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


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