Jump to content
  • 0
PQuicksilver

mangos three MaNGOS Three Compilation Difficulties

Question

Hello everyone, and thank you for looking this over for me. I am trying to compile the MaNGOS three distribution on an Ubuntu 18.04 virtual machine, and when doing so I'm running into some errors (shown below) I'm aware that the notes mention pulling the /dep directory from git on its own when having errors with the ACE dependencies, and I was able to do so, but I still arrived at the same errors. Note that when I pulled the /dep directory the command I used was "git clone https://github.com/mangos/mangosDeps.git . --recursive --depth=3"

 

Quote

[ 43%] Building CXX object dep/acelite/CMakeFiles/ace.dir/ace/Log_Meg_Android_Logcat.cpp.o /home/wowserver/sources/dep/acelite/ace/Log_Msg.cpp:438:30: error: 'ACE_DEFAULT_LOG_FLAGS' was not declared in this scope     u_long ACE_LOG_MSG::flags_ = ACE_DEFAULT_LOG_FLAGS;

 

The build then proceeds to suggest an alternative of ACE_DEFAULT_LOCALNAME. Obviously ACE is not MaNGOS, so I guess what I need to know is where I can get the correct /dep directory in order to compile correctly for Ubuntu 18.04, or where I might be mucking things up. 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello @PQuicksilver

If you follow the guide : 

There is a note about /dep folder but there is no need to fully clone the repo !

Can you start from the begininng and just clone the main repo and for the dep folder just make a git pull / git checkout master as it is stated in the guide ?

Share this post


Link to post
Share on other sites
  • 0

Thanks for the prompt response. I'll give that a run and edit this when I get a result and let you know. I thought my error was with git somehow - I'm not as familiar with that as I could be. I understand then if I use git pull while in the /home/mangos/sources/dep directory it will pull just that directory from the repository? or is that the  git checkout master?

 

Edit 7/31/2020:

Okay, so I started completely over - New VM with the same schematics. For the first attempt at the build, I did nothing to the /sources/dep folder and had the expected ACE dependency errors as mentioned in the note. Thereafter I went to the /sources/dep directory and tried "git pull". Git responded with "You aren't currently on a branch", so I used "git checkout master" and then "git pull" all while in the /sources/dep directory.  git responded with Already up to date. 

 

Following these, the build got further than the last time, and got to the same point as I had with the first post here - the ACE_DEFAULT_LOG_FLAGS error as described above.  Again, many thanks for your assistance in this matter, and I look forward to any further suggestions

Edited by PQuicksilver
Update

Share this post


Link to post
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

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×
×
  • 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