Kompiliere SDL, SDL_ttf, freetype und glew mit MingW

SDL-1.2.14.tar.gz
SDL_ttf-2.0.11.tar.gz
freetype-2.4.8.tar.gz
glew-1.7.0.tgz
$ cd SDL-1.2.14
$ ./configure --prefix=/usr/libsdl --enable-stdio-redirect=no

$ cd freetype-2.4.8
$ ./configure --prefix=/usr/freetype2

$ cd SDL_ttf-2.0.11
$ ./configure --prefix=/usr/libsdl

$ cd glew-1.7.0
$ sed -i 's/GLEW_DEST ?= \/usr/GLEW_DEST ?= \/usr\/glew/g' Makefile
$ make install.all
export PATH=$PATH:/usr/libsdl/bin:/usr/freetype2/bin:/usr/glew/bin

Leave a Reply

Your email address will not be published. Required fields are marked *