Difference between revisions of "How to build VCMI (Windows/Cmake)"
From VCMI Project Wiki
Line 15: | Line 15: | ||
** libSDL2_ttf [http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-devel-2.0.12-mingw.tar.gz download] | ** libSDL2_ttf [http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-devel-2.0.12-mingw.tar.gz download] | ||
* ZLib [http://zlib.net/zlib128.zip download] | * ZLib [http://zlib.net/zlib128.zip download] | ||
+ | |||
+ | = Clone VCMI = | ||
+ | * open SourceTree | ||
+ | * File -> Clone | ||
+ | * select '''https://github.com/vcmi/vcmi/''' as source | ||
+ | * select '''[VCMIBUILD_DIR]/src''' as destination | ||
+ | * click '''Clone''' | ||
= Install Qt bundle = | = Install Qt bundle = |
Revision as of 14:06, 10 July 2014
Prerequisites
- HoMM 3 (can be bought at gog.com)
Clone VCMI
- open SourceTree
- File -> Clone
- select https://github.com/vcmi/vcmi/ as source
- select [VCMIBUILD_DIR]/src as destination
- click Clone
Install Qt bundle
- Run installer
- Select latest Qt for mingw and mingw 4.8.2 from tools
- Select [VCMIBUILD_DIR]/qt as destination folder
Build boost
- Unpack boost archive
bootstrap.bat gcc b2 toolset=gcc --without-python --stage
- copy stage/lib to [VCMIBUILD_DIR]/boost/lib
- copy boost dir to [VCMIBUILD_DIR]/boost/boost
So, you should get
- [VCMIBUILD_DIR]
- boost
- boost
- lib
- boost