Installation Guide | |
---|---|
This article is a part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps. | |
<< Step 1: Requirements | Step 3: Server Setup >> |
See Requirements before you continue.
Repository URL or GitHub username and repository: https://github.com/azerothcore/azerothcore-wotlk Local path: C:\Azerothcore
Click Clone. Within a few minutes, Azerothcore's source files will be cloned into C:\Azerothcore.
Before you begin, create a new directory called Build. In this guide, we will use C:\Build.
all
. This will compile the extractors needed later in the setup.site.data.alerts.note If you were to encounter errors in CMake see <a href=“common-errors#core-installation-errors”>Common Errors</a>. site.data.alerts.end
Build time differs from machine to machine, but you can expect it to take between 5 and 30 minutes.
If you are asked to “Reload build files” during or after the compilation, do so.
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 ==========
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:
\configs\ authserver.exe authserver.pbd worldserver.exe worldserver.pdb libmysql.dll --------- For OpenSSL 1.1.x libeay32.dll / libcrypto-1_1.dll / libcrypto-1_1-x64.dll ssleay32.dll / libssl-1_1.dll / libssl-1_1-x64.dll --------- For OpenSSL 3.0 and later legacy.dll libcrypto-3.dll / libcrypto-3-x64.dll libssl-3.dll / libssl-3-x64.dll
In the configs folder you should find:
authserver.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/bin directories:
{% include callout.html content=“<b>libmysql.dll</b> → C:\Program Files\MySQL\MySQL Server 8.x\lib” type=“primary” %}
{% include note.html content=“You need the exact version of libmysql to correspond to the MySQL you have downloaded. Due to this you cannot download the DLL from the web and need to take it out of the folder.” %}
{% include callout.html content=“<b>libeay32.dll</b> and <b>ssleay32.dll</b> → C:\OpenSSL-Win64\ or C:\OpenSSL-Win32\ <i>(depends on if your core is 64-bit or 32-bit)</i>.” type=“primary” %}
{% include callout.html content=“<b>libssl-1_1-x64.dll</b> and <b>libcrypto-1_1-x64.dll</b> → C:\OpenSSL-Win64\bin” type=“primary” %}
{% include callout.html content=“<b>legacy.dll</b> → C:\OpenSSL-Win(32/64)\bin<br/> <b>libcrypto-3-x64.dll</b> and <b>libssl-3-x64.dll</b> → C:\OpenSSL-Win64\bin” type=“primary” %}
pdb files only exist if you compile with Debug or RelWithDebInfo configuration. It is not mandatory but it is recommended to compile core with at least the RelWithDebInfo configuration to get proper crash logs.
{% include important.html content=“To report crash logs it's MANDATORY to compile with Debug or RelWithDebInfo configuration.” %}
<br>
If you are still having problems, check:
Installation Guide | |
---|---|
This article is a part of the Installation Guide. You can read it alone or click on the previous link to easily move between the steps. | |
<< Step 1: Requirements | Step 3: Server Setup >> |