Archive for August, 2006

Compiling SDL_image with MSYS/MinGW

Sunday, August 13th, 2006

1. Introduction

SDL_image is an image loading library that is used with the SDL library, and almost as portable. It allows a programmer to use multiple image formats without having to code all the loading and conversion algorithms themselves. SDL_image supports BMP, GIF, JPG, LBM, PCX, PNG, PNM, TGA, TIFF, XCF, XPM and XV image formats.

SDL_image requires JPEG library for JPG image support, PGN libarary and zlib library for PGN image format support, and the TIFF library for TIFF image support.

Note: Current version of TIFF library has some problems compiling under Windows/MinGW, so we will disable support for tif file format in SDL_image library.

(more…)

Setting up MSYS/MinGW build system for compiling SDL/OpenGL applications

Tuesday, August 8th, 2006

1. Introduction

MSYS is a Minimal SYStem to provide POSIX/Bourne configure scripts the ability to execute and create a Makefile used by make on MS Windows operating system.
MinGW is a collection of freely available and freely distributable Windows specific header files and import libraries combined with GNU tool sets that allow one to produce native Windows programs that do not rely on any 3rd-party C runtime DLLs.
In this tutorial we will setup MSYS/MinGW configuration, and compile libraries needed for development of SDL and OpenGL applications.

(more…)