• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

ElunaMangosTbc Cmake Error

ivandenchev

Enthusiast
Hi EmuDevs!

I get some error on Cmake.
I'm using Cmake 3.4.1.

The C compiler identification is MSVC 17.0.50727.1
The CXX compiler identification is MSVC 17.0.50727.1
Check for working C compiler using: Visual Studio 11 2012
Check for working C compiler using: Visual Studio 11 2012 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 11 2012
Check for working CXX compiler using: Visual Studio 11 2012 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done

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 Include additional debug-code in core
WARNINGS Show all warnings during compile
INCLUDE_BINDINGS_DIR Include a script library in src/bindings/ with the
defined name. the name must corespond to the name of
the folder and the folder must contain a valid
CMakeLists.txt
TBB_USE_EXTERNAL Use external TBB
USE_STD_MALLOC Use standard malloc instead of TBB
ACE_USE_EXTERNAL Use external ACE
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
MSVC: Overloaded standard names
MSVC: Disabled NON-SECURE warnings
MSVC: Disabled generic compiletime warnings
Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.7.1.windows.2")
Boost version: 1.59.0
CMaNGOS-Core revision : Git not found
Install server to : C:/Program Files/CMaNGOS
Build script library : No
Use PCH : No
Build in debug-mode : No (default)
Use std malloc : No (default)

CMake Error at src/scriptdev2/CMakeLists.txt:63 (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/scriptdev2/CMakeLists.txt:63 (target_link_libraries):
The "debug" argument must be followed by a library.



Configuring incomplete, errors occurred!
See also "C:/Users/Ivan/Desktop/ElunaMangosTbc-master/build/CMakeFiles/CMakeOutput.log".

Some Ideas what happened... cuz i'm a noob. :D
 
Last edited:
Top