用CMake转换工程安装cmake
新建Trinity-VS文件夹
打开cmake,where is the source code,选刚刚down下来的Trinity/TrinityCore文件夹
where to build the binaries,选Trinity-VS文件夹
点击Configure按钮,Specify the generator for this project选Visual Studio 14 2015 Win64,finish
出现了如下错误:
CMake Error at cmake/macros/FindMySQL.cmake:289 (message):
Could not find the MySQL libraries! Please install the development
libraries and headers
Call Stack (most recent call first):
CMakeLists.txt:64 (find_package)
这是没装MySQL导致的 安装MySQLChoosing a Setup Type,选择Full
Check Requirement时,报Python 3.4 is not installed 安装Python,并配置环境变量一路next之后,配置环境变量,即将python.exe所在目录路径加入到到path里面。
完成之后继续MySQL安装
到了MySQL配置阶段Type and networking,Config Type选择Development Machine
Accounts and Roles,除了设置Root密码外,最好添加一个DBA
一路next,MySQL就装好了
CMake Error at dep/boost/CMakeLists.txt:21 (message):
No BOOST_ROOT environment variable could be found! Please make sure it is
set and the points to your Boost installation.