Difference between revisions of "How to build VCMI (Windows/Cmake)"
From VCMI Project Wiki
(Created page with "= Prerequisites = * HoMM 3 (can be bought at [http://www.gog.com/en/gamecard/heroes_of_might_and_magic_3_complete_edition/ gog.com]) * CMake [http://www.cmake.org/files/v3....") |
(→Prerequisites) |
||
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] | ||
+ | |||
+ | = Build boost = | ||
+ | * Unpack boost archive | ||
+ | * <code>bootstrap.bat gcc</code> | ||
+ | * <code>b2 toolset=gcc --without-python --stage</code> | ||
+ | * 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 |
Revision as of 13:44, 10 July 2014
Prerequisites
- HoMM 3 (can be bought at gog.com)
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