我正在遵循以下指南:
http://www.azerothcore.org/wiki/Installation
我在“在 Windows 上编译”下的最后一条指令中遇到问题,我被要求将一系列 DLL 移动到一个名为CMAKE_INSTALL_PREFIX
. 尽管编译器没有出错,但我找不到这个文件夹?视觉工作室我认为事情没有正确构建。
在 Visual Studio 中编译时收到 3 个警告,
Warning LNK4221 This object file does not define any previously undefined public symbols, so it will not be used by and link operation that consumes this library scripts Build\src\server\scripts\zone_alterac_mountains.obj 1
Warning LNK4221 This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library scripts \Build\src\server\scripts\zone_burning_steppes.obj 1
Warning C4715 'WorldSocket::ProcessIncoming': not all control paths return a value game c:\users\frith\azerothcore\src\server\game\server\worldsocket.cpp 727
我已经重新启动了整个过程几次,但没有取得任何进展。我的印象是我应该在目标文件夹中看到一些东西,它是空的。
经过一番挖掘,我在 build/CMakefies 的错误日志中发现了这一点
\Build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [\Build\CMakeFiles\CMakeTmp\cmTC_0e035.vcxproj]
我完全被困住了。