How the heck does SDL_rotozoom work?

Hello everyone!
Alright, I copied the SDL_rotozoom.c and SDL_rotozoom.h files to my
include dir, but it told me that _rotozoomSurface() was unresolved…
There was no .DLL nor .LIB file, so I looked it up in Google and I found
a project file, and it generated those… I tried compiling my program
(game), but it behaved weirdly:

  1. My EXE was 10KB smaller.
  2. The surface I tried to rotate did not display.
  3. I removed the dependency, the files, but it still gave me the
    error… I had to restart VC. (It’s a beta version, so I wouldn’t be
    so surprised…)

Anyways, did I have to copy/include all the .C and .H files? Thanks!

Hello,
you can try the package from this url:
http://www.ferzkopp.net/Software/SDL_gfx-2.0/
there is a vc6- and vc7-projectfile inside and also a description how to
compile it correctly.

You can also download the DevPak from sourceforge, it includes a .dll,
but I dont know if it works with VC.
http://sourceforge.net/project/showfiles.php?group_id=94270&package_id=150972&release_id=323573

And normally you don’t need to include all files, when you only want to
use rotozoom all you have to do is
include SDL_rotozoom.h, as far as I know.

Hope that helps.

L-28C wrote:> Hello everyone!

Alright, I copied the SDL_rotozoom.c and SDL_rotozoom.h files to my
include dir, but it told me that _rotozoomSurface() was unresolved…
There was no .DLL nor .LIB file, so I looked it up in Google and I found
a project file, and it generated those… I tried compiling my program
(game), but it behaved weirdly:

  1. My EXE was 10KB smaller.
  2. The surface I tried to rotate did not display.
  3. I removed the dependency, the files, but it still gave me the
    error… I had to restart VC. (It’s a beta version, so I wouldn’t be
    so surprised…)

Anyways, did I have to copy/include all the .C and .H files? Thanks!


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

Hmm… Well, I’m using VC++ .NET 2003, but the makefile is only in the
VC6 zip file… :frowning:
If I attempt to compile it, I get this:=================================
Microsoft ® Program Maintenance Utility Version 7.10.2292
Copyright © Microsoft Corporation. All rights reserved.

makefile(12) : fatal error U1035: syntax error : expected ‘:’ or '='
separator
Stop.

Is there a VC7 makefile? Thanks!

PS: I also have VC6 installed, even though I don’t use it… (lol) And
using its nmake gives me the same error! Is it a problem with the
makefile? Thanks!

Christoph Harder wrote:

Hello,
you can try the package from this url:
http://www.ferzkopp.net/Software/SDL_gfx-2.0/
there is a vc6- and vc7-projectfile inside and also a description how to
compile it correctly.

You can also download the DevPak from sourceforge, it includes a .dll,
but I dont know if it works with VC.
http://sourceforge.net/project/showfiles.php?group_id=94270&package_id=150972&release_id=323573

And normally you don’t need to include all files, when you only want to
use rotozoom all you have to do is
include SDL_rotozoom.h, as far as I know.

Hope that helps.

L-28C wrote:

Hello everyone!
Alright, I copied the SDL_rotozoom.c and SDL_rotozoom.h files to my
include dir, but it told me that _rotozoomSurface() was unresolved…
There was no .DLL nor .LIB file, so I looked it up in Google and I found
a project file, and it generated those… I tried compiling my program
(game), but it behaved weirdly:

  1. My EXE was 10KB smaller.
  2. The surface I tried to rotate did not display.
  3. I removed the dependency, the files, but it still gave me the
    error… I had to restart VC. (It’s a beta version, so I wouldn’t be
    so surprised…)

Anyways, did I have to copy/include all the .C and .H files? Thanks!


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

I don’t use Visual Studio, but there is a VisualC7.zip with a project
file in the archive, maybe that works?
Sorry but I can’t tell you if there is an problem with the makefile, I
don’t know how those things work :frowning:
Someone else on this mailinglist can probably help you, or you can write
the author a mail.

Cheers, Christoph

L-28C wrote:> Hmm… Well, I’m using VC++ .NET 2003, but the makefile is only in the

VC6 zip file… :frowning:
If I attempt to compile it, I get this:

=================================
Microsoft ® Program Maintenance Utility Version 7.10.2292
Copyright © Microsoft Corporation. All rights reserved.

makefile(12) : fatal error U1035: syntax error : expected ‘:’ or '='
separator
Stop.

Is there a VC7 makefile? Thanks!

PS: I also have VC6 installed, even though I don’t use it… (lol) And
using its nmake gives me the same error! Is it a problem with the
makefile? Thanks!

Oh, that sucks… :frowning: But thanks for your help! :wink:

Anyways, I emailed the author… I’ll post back what he says! Thanks!

Christoph Harder wrote:> I don’t use Visual Studio, but there is a VisualC7.zip with a project

file in the archive, maybe that works?
Sorry but I can’t tell you if there is an problem with the makefile, I
don’t know how those things work :frowning:
Someone else on this mailinglist can probably help you, or you can write
the author a mail.

Cheers, Christoph

L-28C wrote:

Hmm… Well, I’m using VC++ .NET 2003, but the makefile is only in the
VC6 zip file… :frowning:
If I attempt to compile it, I get this:

=================================
Microsoft ® Program Maintenance Utility Version 7.10.2292
Copyright © Microsoft Corporation. All rights reserved.

makefile(12) : fatal error U1035: syntax error : expected ‘:’ or '='
separator
Stop.

Is there a VC7 makefile? Thanks!

PS: I also have VC6 installed, even though I don’t use it… (lol) And
using its nmake gives me the same error! Is it a problem with the
makefile? Thanks!

Hello !

Can anyone help me? The question basically was how to compile
SDL_rotozoom correctly or where to get a precompiled lib/dll files…

Basically you include the .h File in your code
and link the SDL_rotozoom Object File created from SDL_rotozoom.c

CU

4 days, no reply… :frowning:

Can anyone help me? The question basically was how to compile
SDL_rotozoom correctly or where to get a precompiled lib/dll files…
Thanks!

L-28C wrote:> Oh, that sucks… :frowning: But thanks for your help! :wink:

Anyways, I emailed the author… I’ll post back what he says! Thanks!

Christoph Harder wrote:

I don’t use Visual Studio, but there is a VisualC7.zip with a project
file in the archive, maybe that works?
Sorry but I can’t tell you if there is an problem with the makefile, I
don’t know how those things work :frowning:
Someone else on this mailinglist can probably help you, or you can write
the author a mail.

Cheers, Christoph

L-28C wrote:

Hmm… Well, I’m using VC++ .NET 2003, but the makefile is only in the
VC6 zip file… :frowning:
If I attempt to compile it, I get this:

=================================
Microsoft ® Program Maintenance Utility Version 7.10.2292
Copyright © Microsoft Corporation. All rights reserved.

makefile(12) : fatal error U1035: syntax error : expected ‘:’ or '='
separator
Stop.

Is there a VC7 makefile? Thanks!

PS: I also have VC6 installed, even though I don’t use it… (lol) And
using its nmake gives me the same error! Is it a problem with the
makefile? Thanks!