windows_核心安装
差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
windows_核心安装 [2023/09/23 22:56] – [Pulling the code] admin | windows_核心安装 [2023/09/23 23:04] (当前版本) – [Compiling the Source] admin | ||
---|---|---|---|
行 22: | 行 22: | ||
</ | </ | ||
点击 Clone. 几分钟后, | 点击 Clone. 几分钟后, | ||
- | {{: | ||
- | ==== Configuring and generating Visual C++ solution with CMake ==== | ||
- | Before you begin, create a new directory called Build. In this guide, we will use C:\Build. | + | {{:github.pulling.code.png? |
+ | ==== 使用 CMake 配置和生成 Visual C++ 解决方案 ==== | ||
- | 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. | ||
- | |||
- | 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. | ||
- | |||
- | Some error fixes | ||
If you were to encounter errors in CMake see Common Errors. | If you were to encounter errors in CMake see Common Errors. | ||
行 72: | 行 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 | ||
行 95: | 行 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_核心安装.1695481009.txt.gz · 最后更改: 2023/09/23 22:56 由 admin