|
AerosolOnWindows
How to build Aerosol on Windows.
How to Build Aerosol on Windows/!\ This page is a work in progress. Unfortunately, I have put off documenting this long enough that the details are sketchy. I am taking the approach of creating a more generic page and filling in details later, in attempt to make this page at least somewhat useful. I will have to try the setup from scratch once these instructions are done. There are three main steps to building Aerosol (or most pieces of software, really)
Setup EnvironmentAerosol is written in C99, so Microsoft's Visual C compiler cannot be used. Instead, we use GCC, in this case provided by MinGW. Install MinGWDownload the MinGW installer from SourceForge. Choose the "Automated MinGW Installer" package. MinGW v5.1.3 was used for this build. Install MinGW to C:\MinGW See MinGW Downloads for more information about MinGW. Install MSysDownload the MSys installer. Install to C:\MSys Build/Install DependenciesRubyOpenGLThe headers/libraries for OpenGL that Windows supports (GL 1.1) come with MinGW. See http://www.opengl.org/wiki/index.php/Getting_started OpenALThis is a little not obvious because development files are not provided for MinGW. However, recent versions of MinGW support the VC .lib format. Install the OpenAL development package provided by Creative. Copy the header files into include/AL and the library files into lib. SDLSee http://www.netadelica.com/coding/sdl/install.html See http://blog.pantokrator.net/2006/08/08/setting-up-msysmingw-build-system-for-compiling-sdlopengl-applications/ zlibSee http://blog.pantokrator.net/2006/08/13/compiling-sdl_image-with-msysmingw/ libPNGSee http://blog.pantokrator.net/2006/08/13/compiling-sdl_image-with-msysmingw/ libJPEGSee http://blog.pantokrator.net/2006/08/13/compiling-sdl_image-with-msysmingw/ SDL_image (?)See http://blog.pantokrator.net/2006/08/13/compiling-sdl_image-with-msysmingw/ libOggSee http://wiki.scummvm.org/index.php/Compiling_ScummVM/MinGW libVorbisSee http://wiki.scummvm.org/index.php/Compiling_ScummVM/MinGW See http://www.hydrogenaudio.org/forums/index.php?showtopic=45488 Build AerosolThere is a non-rake (so that rake is not another dep) ruby file for compiling Aerosol in Windows. Just run "ruby make_win32.rb" from the Aerosol source root directory. |
Sign in to add a comment
