- CMake >= 3
- GCC >= 5
Build under MSVC is not supported and unlikely will be (only if someone is willing to contribute).
Parallel build is not supported, do not use -j
flag to make
.
cmake>=3
, python2
and python3
, perl
, gcc>=5
, autotools
must be available in PATH.
cmake ${path-so-sources}
make
- CMake 3, availability in PATH is optional convenience for future cmake invocations
- tdm-gcc, make sure to select "Add to PATH".
Choose native version, i.e. if you have 64bit OS, download
tdm64-gcc
and chooseMinGW-w64/TDM64
during installation. - Python 2 and 3, if you install 32bit version,
use
Python 2.7.9
(Python 2.7.10
is broken on 32bit), if you install 64bit version, usePython>=3.5
(Python<3.5
is broken on 64bit). Make sure that python is not available in PATH. - Install MS Visual C++ and add directory with MASM (
ml.exe
orml64.exe
depending on your OS architecture) toPATH
, for exampleC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
orC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64
- MSYS2, if you install it to non-standard location,
set
MSYS_BIN
manually, e.g.cmake -DMSYS_BIN=C:\path\to\msys\bin
From build directory
cmake -G "MinGW Makefiles" -DUSE_MSYS=ON %path-to-sources%
if you don't havesh.exe
in PATH,cmake -G "MSYS Makefiles" -DUSE_MSYS=ON %path-to-sources%
if you havesh.exe
in PATH.
From build directory
mingw32-make
if you didn't add MSYS2 to PATHmake
if you added MSYS2 to PATH