MG/Windows Compiling

From MegaGlest
Revision as of 19:27, 3 September 2010 by Titus (talk)
Jump to: navigation, search

Windows Compiling:
1. Get the project from SVN using the commandline or your favorite SVN tool (tortoise)
2. Download package dependencies (from https://sourceforge.net/projects/megaglest/files/win32_deps.7z/download)
3. Decompress the dependency archive into the source folder. You should now see a win32_deps sub-folder with lots of stuff inside. (you will require 7zip from http://www.7-zip.org/)
4. Open the main solution in Visual Studio (I use VC++ 2008 Express, currently 2010 DOES NOT WORK) located in: mk/windoze/Glest.sln
5. Do a rebuild project.
6. If nothing goes wrong you will see glest_game.exe (and other binaries) in data/glest_game (where all the data content lives).
7. To test the game, run the batch file CopyWindowsRuntimeDlls.bat location in mk\windoze to copy dependency dll's to the runtime binary folder