Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译Everwar-1.0源码报错 #38

Open
shiyuzhouou opened this issue Apr 28, 2024 · 2 comments
Open

编译Everwar-1.0源码报错 #38

shiyuzhouou opened this issue Apr 28, 2024 · 2 comments

Comments

@shiyuzhouou
Copy link

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= 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
Copy link
Author

已经安装mysql
image

@geektcp
Copy link
Owner

geektcp commented Jul 29, 2024

有个伙计贡献了一个编译文档,请查阅:
#39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants