找不到 CMAKE_INSTALL_PREFIX 文件夹
Can't find CMAKE_INSTALL_PREFIX folder
我正在遵循以下指南:
http://www.azerothcore.org/wiki/Installation
我在 "compiling on windows" 下的最后一条指令中遇到问题,要求我将一系列 DLL 移动到名为 CMAKE_INSTALL_PREFIX
的文件夹中。我找不到这个文件夹,尽管编译器没有出现错误? visual studio 我认为构建不正常。
我在 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]
我完全卡住了。
CMAKE_INSTALL_PREFIX
是您 选择安装 AC 的位置。
正如指南所说:
Change CMAKE_INSTALL_PREFIX to the location where you will run your server from.
这发生在章节 3) Compiling
-> Compiling on Windows
我正在遵循以下指南:
http://www.azerothcore.org/wiki/Installation
我在 "compiling on windows" 下的最后一条指令中遇到问题,要求我将一系列 DLL 移动到名为 CMAKE_INSTALL_PREFIX
的文件夹中。我找不到这个文件夹,尽管编译器没有出现错误? visual studio 我认为构建不正常。
我在 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]
我完全卡住了。
CMAKE_INSTALL_PREFIX
是您 选择安装 AC 的位置。
正如指南所说:
Change CMAKE_INSTALL_PREFIX to the location where you will run your server from.
这发生在章节 3) Compiling
-> Compiling on Windows