geektcp / UeCore

UeCore wow game server c++ 开源魔兽世界 http://uecore.org
http://uecore.org
GNU General Public License v3.0
703 stars 202 forks source link

编译Everwar-1.0源码报错 #38

Open shiyuzhouou opened 5 months ago

shiyuzhouou commented 5 months ago

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

-- 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 commented 5 months ago

已经安装mysql image

geektcp commented 2 months ago

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