##################### # Building contribs # ##################### Glew ---- Download page: http://sourceforge.net/projects/glew/files/glew - fix config/Makefile.linux-mingw32 and config/Makefile.linux-mingw64 to get the right compiler and linker executable names. sed -i 's/i586-mingw32msvc/i686-w64-mingw32/g' config/*.linux-mingw32 sed -i 's/amd64-mingw32msvc/x86_64-w64-mingw32/g' config/*.linux-mingw64 - fix Makefile for static builds sed -i 's/-DGLEW_NO_GLU.*CFLAGS[^P]*CFLAGS/-DGLEW_STATIC &/g' Makefile - build for Win32 make SYSTEM=linux-mingw32 clean all i686-w64-mingw32-ranlib lib/libglew32.a - copy lib/libglew32.a in the contrib directory as glew32.lib - build for Win64 make SYSTEM=linux-mingw64 clean all x86_64-w64-mingw32-ranlib lib/libglew32.a - copy lib/libglew32.a in the contrib directory as glew32.lib SDL --- Download page: http://www.libsdl.org/release/ Win32: - just take the pre-compiled binaries from upstream Win64: - ./configure --host=x86_64-w64-mingw32 - deactivate NONAMELESSUNION in src/video/windx5/directx.h - make -j6 - copy build/libSDLmain.a as SDLmain.lib - copy build/.libs/libSDL.a as SDL.lib - copy build/.libs/SDL.dll as SDL.dll SDL_Image --------- Download page: http://www.libsdl.org/projects/SDL_image/release/ Hard to do, requires libjpeg, libtiff, libpng, zlib... SDL_Mixer --------- Download page: http://www.libsdl.org/projects/SDL_mixer/release/ Hard to do, requires libogg, libvorbis, mikmod, libsmpeg... Flex ---- Just copied FlexLexer.h from a Debian installation. Libcaca ------- Ran build-win32 and build-64 on a Debian installation, copied the resulting .lib files and some headers.