What environment does Windows need to install to compile a World of Warcraft open source server?

What environment does Windows need to install to compile a World of Warcraft open source server?

Hello everyone, I am Aixi. Around October last year, wy and bx announced the suspension of the service. At that time, many friends were worried about what to do if the server was stopped. The game of Warcraft has spent too much time with us. But what has happened, we can only let nature take its course and wait for news from GF. So many friends think that if we compile a World of Warcraft server by ourselves, can we play with our friends normally? Today Aixi is here to teach friends who can’t compile the World of Warcraft server by themselves how to build their own World of Warcraft.

Our own computer can use win10 64-bit system

Prepare the tool configuration environment: (due to the pingtai rules, the xiaz link cannot be given to interested friends to download by themselves)

Git

Visual Studio 2022

phpStudy

CMake v3.25.2

openSSL v1.1.1k

Boost v1.81

Navicat

Client 3.3.5a (12340)

(Path is fine by default)

Start the installation of the above environment below

Git uses the 2.39.1-64 version, just click the next step to start the installation package, no need to check other options

Install Visual Studio and choose to download and install the Community version

 

After opening, we need to choose to install the desktop development using C++ and click Install.

Next install phpStudy

 

Continue to install mysql, it will be better to install mysql to the C drive. Enter the folder and open the bin file to copy the path

C:\mysql-8.0.32-winx64\bin  

Set up environment variables

Right-click My Computer---Properties---Advanced----Environment Variables---path---New---C:\mysql-8.0.32-winx64\bin Confirm

 

 

Use the mysql install command

mysqld --initialize-insecure --user=mysql

mysqld -install #install MySQL database

net start mysql #Start the MySQL database

mysql -uroot p #Enter, when the Enter password pops up to let you enter the password, continue to enter

((When you log in for the first time, it is in a state of no password, so skip and directly select Enter to enter))

log in to MySQL use mysql;

ALTER USER 'root' @'localhost IDENTIFED WTH mysql_ native _password BY'new password'#This is to modify the root password of MySQL. The new password is the password you set yourself, don't forget it!

FLUSH PRIVILEGES;

exit;

Open the administrator panel Windows Powershell and enter the above commands in sequence

 

Install CMake Install opensSL Install Boost (default C drive)

After Boost is installed, configure the environment variable copy path C:\local\boost_1_81_o

Right-click My Computer---Properties---Advanced----Environment Variables---New---boost_ROOT-----C:\mysql-8.0.32-winx64\bin Confirm

 

Install Navicat default C drive

Compile the World of Warcraft server environment configuration by yourself, and I will talk to you about compiling and installing in the next issue. Those who are interested in compiling and installing remember to pay attention to check the latest developments of the editor from time to time.

I'm Essie, that's all for today's sharing, see you next time

Guess you like

Origin blog.csdn.net/V13807970340/article/details/130412746