windows - 找不到 CMAKE_INSTALL_PREFIX 文件夹
问题描述
我正在遵循以下指南:
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]
我完全被困住了。
解决方案
CMAKE_INSTALL_PREFIX
是您选择安装 AC 的位置。
正如指南所说:
将 CMAKE_INSTALL_PREFIX 更改为您将运行服务器的位置。
这发生在章节3) Compiling
->Compiling on Windows
推荐阅读
- android-studio - 为什么 Flutter 无法读取我的 .json 资产?
- php - 无法验证 Twitter Oauth 的临时凭证
- python - 尝试使用 python-request 获取网页时网站给出错误页面
- javascript - $.getJSON 不适用于 Cordova 中的本地文件
- powerbi - Power BI 报表服务器不支持多对多关系
- xamarin.forms - 我的按钮如何居中?取决于我的第一个按钮
- qt - 是否可以使用 QAudioProbe 捕获发送到音频接口的音频?
- r - GAM 中疏浚函数 (MuMin) 中的固定项
- c# - 单元格更改后更新绑定到可过滤 DataGridView 的原始 BindingList
- mongodb - Robo3T 只会插入第一个 JSON 对象而不会插入第二个?