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”

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