Bugs: SDLImage, libz and libpng

Hello!

I have noticed a few small bugs here and there:

  1. When configuring SDL_Image (1.0.4) for
    crosscompilation from Linux to Windows,
    the generated Makefile has {prefix}
    instead of $(prefix) in
    the definition of the CFLAGS variable.
    There may be similar places like this in the
    makefile, but this one I had to correct to
    make it work.
  2. The .a files are missing in the distributions
    of the precompiled mingw32 libraries:
    libz-1.0.3 and libpng-1.1.3
    I don’t remember where I downloaded
    these from, but they were compiled for SDL.

Cheers–
http://www.HardcoreProcessing.com

  1. The .a files are missing in the distributions
    of the precompiled mingw32 libraries:
    libz-1.0.3 and libpng-1.1.3
    I don’t remember where I downloaded
    these from, but they were compiled for SDL.

You probably downloaded those from:

http://www.slothmud.org/~hayward/Xmingw32

About a month ago, I fixed it so that they did indeed include the “.a” for
cross-compiling. If you download it again, from that site, you’ll have
the “.a” you need.–
Brian

hayward at slothmud.org wrote:

You probably downloaded those from:

http://www.slothmud.org/~hayward/Xmingw32

About a month ago, I fixed it so that they did indeed include the “.a” for
cross-compiling. If you download it again, from that site, you’ll have
the “.a” you need.

Thanks a lot! :slight_smile:

Cheers–
http://www.HardcoreProcessing.com

ANOQ of the Sun wrote:

I have noticed a few small bugs here and there:

  1. When configuring SDL_Image (1.0.4) for
    crosscompilation from Linux to Windows,
    the generated Makefile has {prefix}
    instead of $(prefix) in
    the definition of the CFLAGS variable.
    There may be similar places like this in the
    makefile, but this one I had to correct to
    make it work.

I have also found this same problem in the
warp, plasma and water demos (downloaded
a few days ago).

It’s both the SDL_CFLAGS and CFLAGS
variables which have {prefix} instead of
$(prefix)

Cheers–
http://www.HardcoreProcessing.com