MG/Windows Compiling

From MegaGlest
Revision as of 18:23, 3 September 2010 by Titus (talk) (Created page with "'''Windows Compiling:'''<br />1.Get the project from SVN using the above commandline or your favorite SVN tool (tortoise)<br />2. Download package dependencies (from https://sour…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Windows Compiling:
1.Get the project from SVN using the above 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 at:
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