-
Notifications
You must be signed in to change notification settings - Fork 5
Compile on windows
===
Mal4s Windows Installer - Automatic File Type Association
####This page needs a complete, tested walk through
FIXME document how we compiled on Windows
If you have the required libraries and compiler and know how to do it on Windows, clone our repo for the additional features.
Contributions to a walk through for Windows compiling would be appreciated.
##Compilers and tools:
Python Get the latest stable version (2.7.6 Presently)
MINGW/MSYS It allows the use of unix commands in a Windows shell. It is not the same as a Linux environment, but takes the Windows command prompt closer to POSIX environment. From the basic setup, install everything.
The recommended IDE can be downloaded from Code Blocks project. Version 13.12 direct Do not get the version with MinGW bundled. The IDE only version will be able to search for MinGW after installation.
Add the compiler and tools to the path. This is done from the system properties->Advanced system settings->Environment Variables in the system variables section.C:\MinGW\bin;C:\MinGW\msys\1.0\bin. Adding those two paths to the end of the PATH variable should make compiling much easier. Adding msys tools to the path is optional will allow the use of many of the unix tools from the Windows shell as well. It is my preference to add it to the path, but it is not a must.
###Libraries
SDL2 - Development Library for mingw, SDL2_image - Development Library for mingw, SDL2_mixer - Development Library for mingw Extract the include, and lib directories and the contents of bin from i686-w64-mingw32 to C:\MinGW\.
PCRE - Developer Files and Binary From the developer files archive, extract lib and include directories into C:\MinGW\. Only the pcre3.dll and pcreposix3.dll files will be needed from the binary archive, place them in C:\MinGW\.
Freetype2 Binary Place the freetype6.dll from bin in C:\MinGW\, and extract lib and include to C:\MinGW\.
GLM header only library Open the archive and place the whole glm subdirectory (glm under glm) in C:\MinGW\include
GLEW Extract the include, and lib directories to C:\MinGW\ and place glew32.dll from bin\Release\Win32 in C:\MinGW\
Boost Libraries Extract the whole archive in C:\.
cd c:\boost
bootstrap.bat gcc
b2 --prefix="C:\MinGW" toolset=gcc variant=debug,release link=static,shared threading=multi install
#FIXME Need working instructions for installing boost libraries
