windows_核心安装
差别
这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
windows_核心安装 [2023/09/23 22:45] – 创建 admin | windows_核心安装 [2023/09/23 23:04] (当前版本) – [Compiling the Source] admin | ||
---|---|---|---|
行 1: | 行 1: | ||
====== Windows 核心安装 ====== | ====== Windows 核心安装 ====== | ||
---- | ---- | ||
- | Required software | + | |安装指南| | |
- | See Requirements before you continue. | + | |本文是《安装指南》的一部分。您可以单独阅读它,也可以单击上一个链接以在步骤之间轻松移动。| | |
+ | |[[安装要求|<< | ||
+ | ===== 所需软件 ===== | ||
+ | ---- | ||
+ | 在继续之前,请参阅[[安装要求]] | ||
- | Pulling & Compiling the source | + | ===== 拉取和编译源代码 ===== |
- | Pulling the code | + | ---- |
- | Create the directory where the source files will be located. In this guide, we will use C: | + | ==== 提取代码 ==== |
- | + | ||
- | Open up Github Desktop | + | |
- | + | ||
- | Click File -> Clone repository... in the top left | + | |
- | + | ||
- | Click URL | + | |
- | + | ||
- | Fill in the data as follow: | + | |
+ | - 创建源文件所在的目录。在本指南中,我们将使用 C: | ||
+ | - 打开 Github Desktop\\ \\ | ||
+ | - 在左上角依次点击 File -> Clone repository... \\ \\ | ||
+ | - 点击 URL\\ \\ | ||
+ | - 按如下方式填写数据: | ||
+ | < | ||
Repository URL or GitHub username and repository: https:// | Repository URL or GitHub username and repository: https:// | ||
Local path: C: | Local path: C: | ||
- | Click Clone. | + | </ |
+ | 点击 | ||
- | Configuring and generating | + | {{: |
- | Before you begin, create a new directory called Build. In this guide, we will use C:\Build. | + | ==== 使用 CMake 配置和生成 |
- | Open CMake | + | 在开始之前,请创建一个名为 Build 的新目录。在本指南中,我们将使用 C:\Build. |
- | Click Browse Source... → Select the source directory | + | - 打开 CMake\\ \\ |
+ | - 点击 | ||
+ | - 点击 Browse Build... → 选择构建目录 (C: | ||
+ | - 点击 Configure.\\ \\ | ||
+ | - In the dropdown menu, choose the version of the compiler you downloaded in the Requirements section. Be sure to choose the Win64 version if you work on a 64-bit compilation.\\ \\ | ||
+ | - Make sure that Use default native compilers is checked.\\ \\ | ||
+ | - Click Finish.\\ \\ | ||
+ | - Make sure TOOLS_BUILD is set to all. This will compile the extractors needed later in the setup.\\ \\ | ||
+ | - Click Configure again. As long as you have error(s) typed in red in the log window you will need to check your parameters and re-run it.\\ \\ | ||
+ | - Click Generate. This will install the selected build files into your C:\Build folder. | ||
- | Click Browse Build... → Select the build directory (C:\Build) | + | **Some error fixes** |
- | Click Configure. | + | If you were to encounter errors in CMake see Common Errors. |
- | In the dropdown menu, choose the version of the compiler you downloaded in the Requirements section. Be sure to choose the Win64 version if you work on a 64-bit compilation. | + | ==== Compiling |
- | + | ||
- | Make sure that Use default native compilers is checked. | + | |
- | + | ||
- | Click Finish. | + | |
- | + | ||
- | Make sure TOOLS_BUILD is set to all. This will compile the extractors needed later in the setup. | + | |
- | + | ||
- | Click Configure again. As long as you have error(s) typed in red in the log window you will need to check your parameters and re-run it. | + | |
- | + | ||
- | Click Generate. This will install the selected build files into your C:\Build folder. | + | |
- | + | ||
- | Some error fixes | + | |
- | If you were to encounter errors in CMake see Common Errors. | + | |
- | Compiling the Source | ||
In CMake press Open Project to open the AzerothCore.sln file directly with Visual Studio. | In CMake press Open Project to open the AzerothCore.sln file directly with Visual Studio. | ||
行 67: | 行 65: | ||
When the build is complete you will find a message in the output that looks similar to this: | When the build is complete you will find a message in the output that looks similar to this: | ||
+ | < | ||
========== Build: 22 succeeded, 0 failed, 0 up-to-date, 1 skipped ========== | ========== Build: 22 succeeded, 0 failed, 0 up-to-date, 1 skipped ========== | ||
+ | </ | ||
You will find your freshly compiled binaries in the C: | You will find your freshly compiled binaries in the C: | ||
You will need the following files in order for the core to function properly: | You will need the following files in order for the core to function properly: | ||
+ | < | ||
\configs\ | \configs\ | ||
authserver.exe | authserver.exe | ||
行 90: | 行 90: | ||
libcrypto-3.dll / libcrypto-3-x64.dll | libcrypto-3.dll / libcrypto-3-x64.dll | ||
libssl-3.dll / libssl-3-x64.dll | libssl-3.dll / libssl-3-x64.dll | ||
+ | </ | ||
In the configs folder you should find: | In the configs folder you should find: | ||
+ | < | ||
authserver.conf.dist | authserver.conf.dist | ||
worldserver.conf.dist | worldserver.conf.dist | ||
+ | </ | ||
There are two/three DLL files that need to be manually added to this folder, and you need to copy them from the following installation/ | There are two/three DLL files that need to be manually added to this folder, and you need to copy them from the following installation/ | ||
windows_核心安装.1695480315.txt.gz · 最后更改: 2023/09/23 22:45 由 admin