MG/Windows Compiling

From MegaGlest
Revision as of 18:13, 2 October 2010 by 92.225.138.136 (talk) (better readable instructions, add hint on win7 FS corruption)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Windows Compiling:
1. Get the project from MegaGlests' subversion repository using the commandline or your favorite subversion utility (probably Tortoise). If you are going to use subversion on 64-bit Windows 7 and get error messages like The file or directory is corrupted and unreadable then that's because your OS's only primary file system is buggy.
2. Download the build dependencies archive.
3. Decompress (using 7-zip) the dependency archive into the source folder. You should now see a win32_deps sub-folder with lots of stuff inside.
4. Open the main solution in Visual Studio (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 located in mk\windoze to copy dependency dll's to the runtime binary folder