Compile TrinityCore/Merge Eluna Lua Engine & Update Source/Engine

2397 ワード

In this tutorial I will show you how to InstallTrinityCore (3.3.5 branch)*and add Eluna Lua Engine extension, so please pay attention and patience in this simple tutorial.
This tutorial is available only for windows platform.
I. Requirements (important)
Install Git Extensions from HERE
Install the compiler/IDE*Visual Studio Community 2013 with Update 4
Download and Install MySQL Installer 5.5 from HERE
Download and Install Boost from here: 32bit or 64bit
Add an environment variable to system see image:HERE
Download and Install CMake from HERE
Download and Install Latest OpenSSL NO LIGHT VERSION from HERE
Download and Install ZeroMQ from here: 32bit*or 64bit
Download and Install Git with Git Bash from HERE
II. Getting the source & merge eluna lua engine
Navigate to desktop and right click*->*GIT Bash Here
Type the following command line:
Code:
git clone -b 3.3.5 https://github.com/TrinityCore/TrinityCore.git

After the process is done, type the following commands:
Code:
cd TrinityCore

Code:
git pull --recurse-submodules https://github.com/ElunaLuaEngine/ElunaTrinityWotlk.git

Note: If you find merge conflicts, open a ticket atElunaLuaEngine issue tracker:*HERE
After the process is done, type the following commands:
Code:
git submodule init

Code:
git submodule update

After the process is done, type the following command:
Code:
git remote add ElunaTrinityWotlk https://github.com/ElunaLuaEngine/ElunaTrinityWotlk.git

Everything fine, you can now CMake & compile!
III. How to update source
Update TrinityCore source, right click on source folder-> Git Bash Here
Type the following command line:
Code:
git pull

Update Eluna Lua Engine, right click on source folder -> Git Bash Here
Type the following commands:
Code:
git submodule init

Code:
git submodule update

Note: If you find*merge conflicts, open a ticket atElunaLuaEngineissue tracker:HERE
Congratulations you have updated the source and theEluna Lua Engine