用户工具

站点工具


windows_核心安装

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

后一修订版
前一修订版
windows_核心安装 [2023/09/23 22:45] – 创建 adminwindows_核心安装 [2023/09/23 23:04] (当前版本) – [Compiling the Source] admin
行 1: 行 1:
 ====== Windows 核心安装 ====== ====== Windows 核心安装 ======
 ---- ----
-Required software +|安装指南| | 
-See Requirements before you continue.+|本文是《安装指南》的一部分。您可以单独阅读它,也可以单击上一个链接以在步骤之间轻松移动。| | 
 +|[[安装要求|<< Step 1: 安装要求]]|[[服务器设置|Step 3: 服务器设置 >>]]| 
 +===== 所需软件 ===== 
 +---- 
 +在继续之前,请参阅[[安装要求]]
  
-Pulling & Compiling the source +===== 拉取和编译源代码 ===== 
-Pulling the code +---- 
-Create the directory where the source files will be located. In this guide, we will use C:\Azerothcore. +==== 提取代码 ====
- +
-Open up Github Desktop +
- +
-Click File -> Clone repository... in the top left +
- +
-Click URL +
- +
-Fill in the data as follow:+
  
 +  - 创建源文件所在的目录。在本指南中,我们将使用 C:\Azerothcore.\\ \\ 
 +  - 打开 Github Desktop\\ \\ 
 +  - 在左上角依次点击 File -> Clone repository... \\ \\ 
 +  - 点击 URL\\ \\ 
 +  - 按如下方式填写数据:
 +<code>
 Repository URL or GitHub username and repository: https://github.com/azerothcore/azerothcore-wotlk Repository URL or GitHub username and repository: https://github.com/azerothcore/azerothcore-wotlk
 Local path: C:\Azerothcore Local path: C:\Azerothcore
-Click Clone. Within a few minutes, Azerothcore's source files will be cloned into C:\Azerothcore.+</code> 
 +点击 Clone. 几分钟后, Azerothcore 的源代码将被克隆到 C:\Azerothcore.
  
-Configuring and generating Visual C++ solution with CMake +{{:github.pulling.code.png?direct&400|}} 
-Before you begin, create a new directory called Build. In this guide, we will use C:\Build.+==== 使用 CMake 配置和生成 Visual C++ 解决方案 ====
  
-Open CMake+在开始之前,请创建一个名为 Build 的新目录。在本指南中,我们将使用 C:\Build.
  
-Click Browse Source... → Select the source directory (C:\Azerothcore)+  - 打开 CMake\\ \\  
 +  - 点击 Browse Source... → 选择源代码所在的文件夹 (C:\Azerothcore)\\ \\  
 +  - 点击 Browse Build... → 选择构建目录 (C:\Build)\\ \\  
 +  - 点击 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 the Source ====
- +
-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:
  
 +<code>
 ========== Build: 22 succeeded, 0 failed, 0 up-to-date, 1 skipped ========== ========== Build: 22 succeeded, 0 failed, 0 up-to-date, 1 skipped ==========
 +</code>
 You will find your freshly compiled binaries in the C:\Build\bin\RelWithDebInfo or C:\Build\bin\Debug folder. These are all used to run your server at the end of this instruction. You will find your freshly compiled binaries in the C:\Build\bin\RelWithDebInfo or C:\Build\bin\Debug folder. These are all used to run your server at the end of this instruction.
  
 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:
 +<code>
 \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
 +</code>
 In the configs folder you should find: In the configs folder you should find:
 +<code>
 authserver.conf.dist authserver.conf.dist
 worldserver.conf.dist worldserver.conf.dist
 +</code>
 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/bin directories: 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/bin directories:
  
windows_核心安装.1695480315.txt.gz · 最后更改: 2023/09/23 22:45 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki