Differences

This shows you the differences between two versions of the page.

compile_mana_from_source [2010/06/09 09:09]
Yohann Ferreira created the client linux compilation page
compile_mana_from_source [2010/06/09 09:34] (current)
Yohann Ferreira Added a basic windows part
Line 47: Line 47:
==== Windows ==== ==== Windows ====
-FIXME: To be added+=== Preparing the sources === 
 +The windows compilation is made easy using the [[http://www.codeblocks.org|Code::Blocks]] C++ IDE((Integrated Development Editor)) (which is using MingW as a compiler). You should then download it and install it. 
 + 
 +If you're lazy, don't forget that Windows nightlies are auto-compiled every night, hence the name, and can be easily installed in a few clicks. See also the download section about them. 
 + 
 +If not, then, you'll need the sources obtained from the [[http://www.manasource.org/downloads|download]] section, and the [[http://www.crushnet.org/tmw/tmw_libs.zip|devpak]] given in the [[dependencies]] page. 
 + 
 +Decompress the sources files and the devpak files, and copy the ''include'' folder in the source directory's root folder. 
 + 
 +=== Compiling === 
 + 
 +Run Code::Blocks and open the **''mana.cbp''** file. 
 +Then, click on the ''build'' button and pray... 
 + 
 +=== Run the client === 
 + 
 +If not errors happened, you'll then want to run the client. 
 +In order to do that, there are two ways in doing so: 
 +The DLL files in the dll folder of the devpak have to copied in your **''<Windows drive letter>:\Windows\System32''** folder 
 +if you want to keep them and don't worry about missing dlls or in a specific directory present in your **''%PATH''** environment variable. 
 + 
 +If you just want to make temporary tests with no dll potential pollution in your system. You can copy the **''mana.exe''** file from the source root folder to the devpak dll folder along with all the dll files. 
 + 
 +Again, if you installed a nighly, or a previous version of the client, some dll may have been already installed on your system, and you may not have to handle some or all of them. If you're unsure, try running the client, and see about what missing dll it is complaining. 
 + 
 +You'll then be able to double-click on the ''mana.exe'' file and ... Enjoy!
 
compile_mana_from_source.txt · Last modified: 2010/06/09 09:34 by Yohann Ferreira
 
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki