Jump to content
  • 0

Getting & Compiling a Mangos server


madmax

Question

This guide is for Release 19 (0.19.0) version of Mangos.

This guide is aimed to explain how to get the source code from our git repositories and compile and run with a default config.

This guide assumes you have set-up a database and user accounts for it.

Before you can run your server you will need to of course run an extractor and put the DBC, vmaps and mmaps(if you have mmaps) in the folder with all the server core files.

Required Files

Getting the source code

Mangos Zero will be used for the rest of this guide.

  • Browse to where you would like to clone the files
  • Right click inside a blank area of the folder and select "Git Bash Here"
  • In the black command box type
    [b]Git clone --recursive https://github.com/mangoszero/server[/b]


    This will clone the latest Sever source into a folder called server - Including the --recursive is very important!

Compiling the source code

  • Go into the Server folder and into the Win folder.
    • Open the file BuildEverything_VC120.sln
      BuildEverything_VC120.jpg

    [*]This should load visual studio express 2013

    visual_studio_loading.jpg

    [*]Once the project has loaded go to the Build menu and select Configuration Manager, click debug and set to release (We recommend staying with Win32 currently due to stability).

    configuration_manager.jpg

    [*]Go back to the Build menu and select Clean Solution

    clean_solution.jpg

    • As the clean process starts you will see output in the bottom window.
      Wait until you see this
      ========== Clean: 19 succeeded, 0 failed, 0 skipped ==========
      clean_output.jpg

    [*]Once cleaning is completed go back to the Build menu and select Rebuild Solution

    rebuild_solution.jpg

The Mangos server is now compiling and time to go get a coffee, this process should take around 5-30 minutes depending on your system. Older single core systems will take longer.

sucessful_build.jpg

That's it! now head into the bin / Win32_Release folder and your server files will be there.

BuildEverything_VC120.jpg.92ecec49ee2515

visual_studio_loading.jpg.66d993946be9f8

configuration_manager.jpg.1386ccbc784154

clean_solution.jpg.4121a35efecfb96516172

clean_output.jpg.7554c6f6bf7a96a0a35e125

rebuild_solution.jpg.ea25bad23e2a70a061c

sucessful_build.jpg.90ea8f5a83e47c1af949

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use