Has anyone had any success in building boost 1.61.0 for Mingw? I\'ve Googled for this, and all the suggestions that apparently worked well in the past result in errors now.
The answer from @antred worked pretty well. Only changes I needed to do to compile boost 1.67.0 is follows:
.\bootstrap.bat gccb2 --build-dir="C:\Program Files\boost_1_67_0\build" --prefix="C:\Program Files\boost" toolset=gcc installOk, I did get it to work, but apparently the bug in the boost build system discussed here is still in boost 1.61. I worked around that by skipping the libraries that run into this problem and only building the ones that I need. Here's what worked for me.
cd D:\Dev\Libs\boost\boost_1_61_0\tools\build.\bootstrap.bat (if you skip this, step 6 will fail with 'Unknown toolset: mingw' ... WTF???).\bootstrap.bat mingw.\b2.exe install toolset=gcc --prefix=D:\Dev\Libs\boost\boost_1_61_0\b2_for_mingwcd D:\Dev\Libs\boost\boost_1_61_0set PATH=%PATH%;D:\Dev\Libs\boost\boost_1_61_0\b2_for_mingw\binb2 toolset=gcc --build-type=complete stage --with-filesystem --with-system (since I only need the filesystem and system libraries).EDIT: For boost 1.64, step 5 must be skipped entirely, and in step 6 gcc needs to be specified instead of mingw, as pointed out in the comments by user fest.