Jump to content
  • 0

do we have any guide for mangos zero vo.20???


kris914g

Question

hey im trying to compile the new version of mangos-zero i thourght it was like the old mangos-zero guide, but i got a error then im trying to use cmake and i got this: and i can't find the checkpoint for the server core but can any show me a new guide for the new mangos-zero version v0,20

This script builds the MaNGOS server.

Options that can be used in order to configure the process:

CMAKE_INSTALL_PREFIX Path where the server should be installed to

PCH Use precompiled headers

DEBUG Debug mode

USE_STD_MALLOC Use standard malloc instead of TBB

ACE_USE_EXTERNAL Use external ACE

BUILD_TOOLS Build map/vmap/mmap extractors

To set an option simply type -D<OPTION>=<VALUE> after 'cmake <srcs>'.

Also, you can specify the generator with -G. see 'cmake --help' for more details

For example: cmake .. -DDEBUG=1 -DCMAKE_INSTALL_PREFIX=/opt/mangos

Detected 32-bit platform.

MaNGOS-Core revision : 8377b3f3a2198201d7f790d42264f7f7793a0c85

Install server to : C:/Program Files (x86)/MaNGOS

Build tools : No (default)

Use PCH : No

Build in debug-mode : No (default)

CMake Warning (dev) at CMakeLists.txt:304 (get_target_property):

Policy CMP0026 is not set: Disallow use of the LOCATION target property.

Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy

command to set the policy and suppress this warning.

The LOCATION property should not be read from target "genrev". Use the

target name directly with add_custom_command, or use the generator

expression $<TARGET_FILE>, as appropriate.

This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at src/scripts/CMakeLists.txt:415 (target_link_libraries):

Target "mangosd" of type EXECUTABLE may not be linked into another target.

One may link only to STATIC or SHARED libraries, or to executables with the

ENABLE_EXPORTS property set.

CMake Error at src/scripts/CMakeLists.txt:415 (target_link_libraries):

The "debug" argument must be followed by a library.

Configuring incomplete, errors occurred!

See also "C:/Users/Administrator/Desktop/Source/Mangos-zero/Build/CMakeFiles/CMakeOutput.log".

See also "C:/Users/Administrator/Desktop/Source/Mangos-zero/Build/CMakeFiles/CMakeError.log".

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

It is something that is on our list to look at in the future, but i would need to be tested fully BEFORE going live.

It also has to meet some fairly reasonable guidelines:

* Work well on Linux

* Work well on Windows

* Compiles and builds within the same time bracket as the current build process

The 'Buildeverything' solutions for windows set the standard for ease of use, any cmake system on windows will have to come very close to that !

Link to comment
Share on other sites

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