Welcome to AC Web.
Results 1 to 3 of 3
  1. #1

    [Mangos] Tutorial for compiling


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Since i saw there is none tut that can help people to compile their core, i'll post tutorial that i have found by madmax from real owner on other forum.
    Hope someone will Sticky this, so people can see it always.

    This guide is for Release 21 (0.21.0) version of Mangos.

    This guide explains 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 running the server, you need to run the extractor and put dbc, vmaps, maps and if you have them, mmaps in the folder with the server files.

    Required Files

    • Git for windows - Git - Downloads
      Install making sure the following options are selected Windows explorer intergration - Simple context menu (Git bash, Git GUI)
    • Microsoft Visual Studio Community 2015 - Free Dev Tools - Visual Studio Community 2015
      • Install with default options selecting C++ when it asks you what programming language you are using

    • Notepad++ - http://notepad-plus-plus.org
      Useful for editing .conf files and any other editable files.
    • Additional required files are downloaded while cloning the repo



    Getting the source code
    Mangos Zero will be used for this guide.

    • Browse to where you would like to clone the files
    • Right click inside a blank area in the folder and select "Git Bash Here"
    • In the black command box type
      Code:
      git clone --recursive https://github.com/mangoszero/server -b develop21
      This will clone the latest Sever source into a folder called server - Including the --recursive is very important!
      Attachment 281


    Installing the additional requirements

    • Go into the new Server / win folder
      It should have these files listed
      Attachment 282
    • Install: Cmake, mysql and openSSL (which version depends on if you are running x32 or x64 [x32 being more stable]).
      • Default options are fine in most cases.


    MaNGOS EasyBuild

    • Run MaNGOS_EasyBuild.exe located in server/win
    • Easy Build main screen
      Attachment 283
    • Click the "check now" button
      Attachment 284
      You should see green ticks and if you have everything done correctly you should be able to go to the build options page.
    • Once on the build options page tick the "Include PlayerBot AI", if you are certain you are not going to use this feature then leave unticked.
      Attachment 285
    • Clicking generate project will run cmake but inside of the EasyBuild application, you will see the output.
    • Visual studio should be started when it is finished generating.


    Output showing EasyBuild with the option to automatically open visual studio unticked
    Attachment 286

    If you wish to compile at a later time the built files will be under /server_build/ you just need to double click on MaNGOS.sln

    Compiling the source code

    • Visual studio
      Attachment 287
    • Once the project has loaded go to the drop down just below the team menu and select Release and Win32
      Attachment 288
    • Press F7 or go to the Build menu and select Build Solution


    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.
    Attachment 86

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

  2. #2


    Join Date
    Mar 2014
    Location
    http://strong-wow.com
    Posts
    1,199
    Good Lucky Gona Try now

    Bump

  3. #3

    Mangos Tutorial for compiling


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    I notice on the web site that NEURON will run on an IBM Blue Gene.

    Does anyone have any specific instructions for compiling NEURON for the Blue Gene?

    Thanks, Mike

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •