UeCore icon indicating copy to clipboard operation
UeCore copied to clipboard

编译Everwar-1.0源码报错

Open shiyuzhouou opened this issue 1 year ago • 2 comments

image

[root@localhost build]# /usr/local/bin/cmake ../ -DCMAKE_INSTALL_PREFIX=$BASE_DIR -DCONF_DIR=$BASE_DIR/etc -DPCH=1 -DDEBUG=0 -DCMAKE_C_COMPILER=/usr/local/bin/gcc -DCMAKE_CXX_COMPILER=/usr/local/bin/g++

-- 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 To set an option simply type -D<OPTION>=<VALUE> after 'cmake '. 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 64-bit platform -- UNIX: Configuring uninstall target -- UNIX: Created uninstall target -- UNIX: Detected compiler: /usr/local/bin/gcc -- GCC: SFMT enabled, SSE2 flags forced -- Could NOT find Git (missing: GIT_EXECUTABLE) -- cotire 1.7.6 loaded. -- Boost version: 1.60.0 -- Found the following Boost libraries: -- system -- program_options -- thread CMake Error at cmake/macros/FindMySQL.cmake:151 (message): Could not find the MySQL libraries! Please install the development-libraries and headers. Call Stack (most recent call first): CMakeLists.txt:127 (find_package)

-- Configuring incomplete, errors occurred! See also "/usr/local/src/wow/Everwar-1.0/build/CMakeFiles/CMakeOutput.log". [root@localhost build]# [root@localhost build]# pwd /usr/local/src/wow/Everwar-1.0/build [root@localhost build]#

shiyuzhouou avatar Apr 28 '24 07:04 shiyuzhouou

已经安装mysql image

shiyuzhouou avatar Apr 28 '24 07:04 shiyuzhouou

有个伙计贡献了一个编译文档,请查阅: https://github.com/geektcp/UeCore/issues/39

geektcp avatar Jul 29 '24 09:07 geektcp