全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 150|回复: 0
打印 上一主题 下一主题

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

[复制链接]
跳转到指定楼层
1#
发表于 前天 14:46 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
谢谢大佬,ubuntu22.04

别嘲笑啊,我是小白

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".
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-11-15 10:18 , Processed in 0.131928 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表