Jump to content
  • We are looking for staff for the Wiki area!
    If interested please
    click here and select "Documentation Team"

  • How to use EasyBuild


    antz

    How to use EasyBuild

    EasyBuild is a 'Helper' utility to simplify the cmake build process. It also will check any of the prerequisites needed for MaNGOS and show you the current status.

    1) On starting the app the following screen is shown, click 'Check Now'

    EasyBuild1.png

    2) If any of the required 3rd Party libraries are missing, it will tell you and provide links to them to download.

        You can also click on the 'DOWNLOAD ALL REQUIRED LIBRARIES' button which will display the following screen:

    EasyBuild3.png

    Here you can tick the libraries you want and download / install them all at once. Care should be taken to not mix 32/64 Bit versions (apart from OpenSSl which doesn't care).

    3) Once all the prerequisite libraries are installed, the 'Build Options' button becomes available. Click the 'Build Options' button to show the next screen.

    EasyBuild2.png

    4) The Following screen sets the modules and options to be included in the MaNGOS server.

    EasyBuild4.png

    Build Folder: This is the folder where the required visual studio solution files will be created. *NOTE: NO SPACES IN PATHNAME*
    Output Folder: This is the folder where all the final files will end up. *NOTE: NO SPACES IN PATHNAME*
    OS Version Build:  Either Win32 or Win64 - This is normally selected automatically !
    Visual Studio Version:  This selects the version of Visual Studio installed, if there are multiple versions install - they can be selected here.

    Build Type: Specifies whether to open visual studio with either Debug or Release
    Logging Level: Selects the level of logging to be shown onscreen - Show full log is the default

    Pre Generate Options: 'Delete Build Folder' - This clears the build folder before building, Ticked by default.

    Post Generate Options
    'Open .sln Folder' - This will open the Visual Studio build folder.
    'Build Mangos' - This will build mangos using msbuild with the progress messages appearing in easybuild. Ticked by default.
    'Open Output Folder' - This will open the output folder on completion of the generation step.
    'Open .sln File with VS' - This will automatically launch Visual Studio and open the project once the generation step is complete.

    Server Build Options
    'Include Main Server' - Builds the mangosd daemon which is the main world server.
    'Include Login Server' - Builds the realmd daemon which is the main authentication server.
    'Include Extraction Tools' - Builds the client data extraction tools.
    'Include SOAP Library' - Includes the SOAP library in the Main server.
    'Include PlayerBot AI' - Includes the PlayerBot AI library as part of the Main server.

    Scripting Engines
    'Eluna Scripting Engine' - Include the Eluna LUA scripting engine as part of the Main server
    'ScriptDev Engine' - Includes the ScriptDev3 scripting engine as part of the Main server.

    5) Click on the 'BUILD PROJECT' button to generate the Visual Studio Solution files.

    EasyBuild5.png

    If you had 'Open Solution File' ticked, Visual Studio will open automatically.

    Otherwise the Output folder will be opened

    TROUBLESHOOTING

    If when you click 'BUILD PROJECT' button you get the following message:

    The C compiler identification is unknown 
    The CXX compiler identification is unknown 
    CMake Error at CMakeLists.txt:35 (project): No CMAKE_C_COMPILER could be found. 
    CMake Error at CMakeLists.txt:35 (project): No CMAKE_CXX_COMPILER could be found. 

    Here is the solution.

    When you're installing Visual Studio 2017/2019 Community on a new system you need to install the desktop development kit c++ with it. Especially the Windows SDK needs to be installed right (you can do that within the install-wizard of visual studio).
    After doing that the error disappears and you can build your solution!


    User Feedback

    Recommended Comments

    "CMake Error at CMakeLists.txt:77(project):

    Generator

    Visual Studio 16 2019

    could find any instance of Visual Studio"

    when I click "generate project", it appeared notes above, can someone tell me what happened and what is the solution, thanks a lot.

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • 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