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

From VCMI Project Wiki
Jump to: navigation, search
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



Clone VCMI

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

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