TrinityCore 7.2.5 编译备忘录

TrinityCore 7.2.5 编译备忘录
一、准备工作
1.源码 :https://github.com/TrinityCore
git clone https://github.com/TrinityCore/TrinityCore.git

2.Cmake :https://cmake.org/ 默认安装即可

3.Openssl :https://www.openssl.org/source/(需要自己编译)
下载1.02(目前最新)版本可直接下载编译好的安装包:http://slproweb.com/products/Win32OpenSSL.html

4.MySql :https://www.mysql.com/downloads/ 默认安装

5.vs 2015 :需要最先安装好

6.BOOST : http://www.boost.org/ 下载最新版即可
https://sourceforge.net/projects/boost/files/ 下载编译好的安装即可
版本选择问题:
boost_1_60_0-msvc-14.0-32.exe,其中msvc-14表示可以用于VS2015配置,32表示用于VS中Win32平台的配置;同理:boost_1_60_0-msvc-14.0-64.exe代表可用于VS2015 x64平台配置的安装包;
自行编译
1.编译bjam,在命令行下,运行bootstrap.bat
2.bjam –buildtype=complete // 执行完全安装即可 (有点慢)
[–bjam stage toolset=msvc-14.0 variant=debug link=static address-model=32 threading=multi runtime-link=static -s install–]

[–bjam –toolset=msvc-14.0 address-model=64 –prefix=”D:\boost” –build-type=complete–]
3.设置系统环境变量如图 “BOOST_ROOT” 路径例如 “C:\boost”

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章