Difference between revisions of "How to build VCMI (Windows/Cmake)"

From VCMI Project Wiki
Jump to: navigation, search
(Build boost)
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]
 +
 +
= 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 =
 
= Build boost =

Revision as of 13:59, 10 July 2014

Prerequisites



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