Jump to content

General Questions


Recommended Posts

Posted

I am currently following the guide to build a MaNGOS zero server and it was going well until these 2 parts:

___

Save this file, the move back up a folder level to ace_wrappers.

Open the ACE_wrappers_vcXX.sln file for the version of VS you are using.

NOTE: For Visual Studio 2010/2012 or 2013 use the _vc10 one.

In the Solution Explorer Window right click on ACE, then select Build. Do this for both Debug and Release configurations.

___

Is it okay that the builds had Errors?

___

For the box labelled 'Where to build the binaries', Select the folder c:/MangosZero/sourcefiles

___

There is not a folder called 'sourcefiles' in the MangosZero folder I created even after doing the Git Bash part.

Posted
Is it okay that the builds had Errors?

Absolutely not, the ACE libraries are a vital part of the project.

Can you post what the errors were ?

For the box labelled 'Where to build the binaries', Select the folder c:/MangosZero/sourcefiles

___

There is not a folder called 'sourcefiles' in the MangosZero folder I created even after doing the Git Bash part.

This folder is not created until the cmake 'Generate' has completed

Posted

Absolutely not, the ACE libraries are a vital part of the project.

Can you post what the errors were ?

This folder is not created until the cmake 'Generate' has completed

Ok. Thank you. I will have to do the builds again and it wasn't created even after the 'Generate' got to 100%.

EDIT: I did the builds again with no errors but the sourcefiles folder still isn't being mad after the 'Generate' completes.

This is the error I get when I Generate the MangosZero/server part of the instructions.

CMake Error: Cannot open file for write: /CMakeCache.txt.tmp
CMake Error at CMakeLists.txt:31 (if):
if given arguments:

 "C:/MangosZero/server" "STREQUAL"

Unknown arguments specified


Configuring incomplete, errors occurred!
CMake Error: Cannot open file for write: /CMakeCache.txt.tmp
CMake Error: : System Error: Permission denied
CMake Error: Unable to open cache file for save. /CMakeCache.txt
CMake Error: : System Error: Permission denied
CMake Error: : System Error: No such file or directory
CMake Error: Unable to open cache file for save. /CMakeCache.txt
CMake Error: : System Error: No such file or directory

Another set of errors I got while trying it a second time.

Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
Visual C++ 2012 detected.
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find ACE (missing: ACE_INCLUDE_DIRS)
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
cmake/FindACE.cmake:87 (find_package_handle_standard_args)
CMakeLists.txt:461 (find_package)


Configuring incomplete, errors occurred!
See also "C:/Program Files (x86)/CMake 2.8/CMakeFiles/CMakeOutput.log".

I tried one third and final time before giving up by making a folder called 'sourcefiles' inside the MangosZero folder and put that in the 'Where to build binaries:' field and I got this error when Configuring:

CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find ACE (missing: ACE_INCLUDE_DIRS)
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
cmake/FindACE.cmake:87 (find_package_handle_standard_args)
CMakeLists.txt:461 (find_package)

Posted

I did the entirety of Part 3 of the Guide over again and ran CMake as an Administrator and I got this Error:

CMake Error at CMakeLists.txt:31 (if):
if given arguments:

 "C:/MangosZero/server" "STREQUAL"

Unknown arguments specified


Configuring incomplete, errors occurred!

Posted

very odd, not seen that error before.

Can you give some details of your OS etc. and build tools ?

I can to the best of my ability.

I am using Windows 7 Ultimate - Service Pack 1. My processor is an AMD 18-6600K APU with Radeon HD Graphics 3.90 GHz.

I have 8.00 GBs of Installed RAM and 7.20 GBs usable. It is a 64-bit operating system.

The build tools I am using are...

- Microsoft Visual Studio Express 2012 for Windows Desktop

- I have Microsoft Visual C++ 2005 Redistributable & (x64) version, MS V C++ 2008 Redistributable - x64 9.0.21022, 9.0.30729.6161, x86 9.0.21022, x86 9.0.30729.6161

- I also have MS V C++ 2010 x64 and x86 Redistributable - 10.0.40219

- I also have MS V C++ 2012 x64 and x86 Redistributable - 11.0.61030

- Microsoft Visual Studio 2010 Tools for Office Runtime (x64)

- Bzip2 library

- ZLib

- ACE v6.0.8

- MySQL 5.6 with 64 Bit Version

- Open SSL 1.0.1e (32-bit)

- CMake 2.8

- GIT Version 1.8.5.2-preview 20131230

Keep in mind I honestly don't know what I am doing other than following the guide.

Posted

Ok.... So VS2012 is the build we're aiming for....

Lets try and fix the ACE_Wrappers problem.

Did you create a file called config.h in the ACE_Wrappers/ACE folder and add the line

#include "ace/config-win32.h"

to it ?

Can you post the error(s) you get when building ACE ?

Posted

Yes. I created it with WordPad like suggested and when I built the ACE I got no errors.

Should I start this over again? What would be the best way to do that if I decided to?

Because I want to just go through the instructions again, but I am not sure how to reverse everything I already did.

Posted

You shouldn't need to go back to the start again.

Ok, so ACE compiled ok with no errors and you've copied the files to the program files/ace.... etc. folder

When you open cmake and click on the advanced checkout could you post the screen (normally has lots of red on in)

Posted

You shouldn't need to go back to the start again.

Ok, so ACE compiled ok with no errors and you've copied the files to the program files/ace.... etc. folder

When you open cmake and click on the advanced checkout could you post the screen (normally has lots of red on in)

MaNGOSZeroBugs_zpsd2dbdeee.png

Posted

Very strange, it should look like this....

The second image is the contents of the source folder location from cmake shown in explorer

[attachment deleted by admin]

Posted

Oh hang on....

look at where you are building the output folder.

let me see what that may have broke

I would definitely change that output/build folder, it has the potential to break cmake

Ok. I am not sure what you mean by that, sorry.

Posted

MaNGOSZeroBugs_zpsd2dbdeee.png

If you look at this image, the Where to build the binaries folder - is the actual Cmake program folder. I normally have it as something off the root of the drive.

- This may have already corrupted cmake somehow.

Posted

Ok. So in the guide it says to have it as...

For the box labelled 'Where to build the binaries', Select the folder c:/MangosZero/sourcefiles

Can I just make a temporary folder called that even if it is empty and put it in that field?

  • 2 months later...

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