• 本站招聘各个版块版主共同发展,有意可私聊站长

哪位大佬有空指导一下mangos编译出错了

Telegram账号购买找【ITCRY】-顶级号商 https://itcry.com/

顾婷婷来了

Member
Lv0
Lv1
Lv2
6
消息得分
注册
2025-07-19
消息
613
反馈评分
0
谢谢大佬,ubuntu22.04



别嘲笑啊,我是小白
shy.gif




root@MaNGOS:/opt/mangos/build# cmake -S /opt/mangos/server/ -B ~ /opt/mangos/build/ -DBUILD_MANGOSD=1 -DBUILD_REALMD=1 -DBUILD_TOOLS=1 -DUSE_STORMLIB=1 -DSCRIPT_LIB_ELUNA=1 -DSCRIPT_LIB_SD3=1 -DPLAYERBOTS=1 -DPCH=1-- The C compiler identification is GNU 11.4.0

-- The CXX compiler identification is GNU 11.4.0

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working C compiler: /usr/bin/cc - skipped

-- Detecting C compile features

-- Detecting C compile features - done

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Check for working CXX compiler: /usr/bin/c++ - skipped

-- 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:

General:

CMAKE_INSTALL_PREFIX Path where the server should be installed to

CONF_DIR Path to the configs, can be absolute or relative.

DEBUG Debug mode (strict compile, all warnings)

ACE_USE_EXTERNAL Use external ACE

BUILD_MANGOSD Build the main server

BUILD_REALMD Build the login server

BUILD_TOOLS Build the map/vmap/mmap extractors

SOAP Enable remote access via SOAP

Scripting engines:

SCRIPT_LIB_ELUNA Compile with support for Eluna scripts

SCRIPT_LIB_SD3 Compile with support for ScriptDev3 scripts

# Modules:

# PLAYERBOTS Enable Player Bots

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



Note: On UNIX systems, CONF_DIR is relative to the bin folder.



-- Detected 64-bit platform

-- Found Git: /usr/bin/git

CMake Error at cmake/FindOpenSSL.cmake:187 (list):

list GET given empty list

Call Stack (most recent call first):

CMakeLists.txt:82 (find_package)





CMake Error at cmake/FindOpenSSL.cmake:188 (list):

list GET given empty list

Call Stack (most recent call first):

CMakeLists.txt:82 (find_package)





CMake Error at cmake/FindOpenSSL.cmake:189 (list):

list GET given empty list

Call Stack (most recent call first):

CMakeLists.txt:82 (find_package)





CMake Error at cmake/FindOpenSSL.cmake:190 (list):

list GET given empty list

Call Stack (most recent call first):

CMakeLists.txt:82 (find_package)





-- OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so

-- OpenSSL headers: /usr/include

-- OpenSSL version: ..`

-- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmysqlclient.so

-- Found MySQL headers: /usr/include/mysql

-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")

-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.8")

-- Looking for BZ2_bzCompressInit

-- Looking for BZ2_bzCompressInit - found

-- Install server to : /root/bin

-- Install configs to : /root/bin/etc/

-- Search configs from : etc/

-- Support for SOAP : No (default)

-- Script engine Eluna : Yes

-- Script engine SD3 : Yes (default)

-- Build main server : Yes (default)

-- Build login server : Yes (default)

-- Build tools : Yes (default)

-- Build in debug-mode : No (default)

-- Linking against dependent libraries statically

-- Configuring incomplete, errors occurred!

See also "/root/CMakeFiles/CMakeOutput.log".
 
后退
顶部