Difference between revisions of "How to build VCMI (Windows/Cmake)"
From VCMI Project Wiki
Line 41: | Line 41: | ||
***boost | ***boost | ||
***lib | ***lib | ||
+ | |||
+ | = Unpack SDL2 = | ||
+ | * Unpack all SDL2* archives | ||
+ | * Copy content of '''i686-w64-mingw32''' to '''[VCMIBUILD_DIR]/depends''' | ||
+ | |||
+ | So, you should get | ||
+ | *[VCMIBUILD_DIR] | ||
+ | **depends | ||
+ | ***bin | ||
+ | ***include | ||
+ | ***lib | ||
+ | |||
+ | = Build ZLib |
Revision as of 14:26, 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
Unpack SDL2
- Unpack all SDL2* archives
- Copy content of i686-w64-mingw32 to [VCMIBUILD_DIR]/depends
So, you should get
- [VCMIBUILD_DIR]
- depends
- bin
- include
- lib
- depends
= Build ZLib