Build Boost 1.45 using MinGW

不羁岁月 提交于 2019-12-05 13:41:44

To build bjam using MinGW use:

bootstrap.bat mingw

This compiled version of bjam worked for me.

The easiest way to build boost with MinGW is to use MSYS. Follow the instructions on this page to setup MSYS and mount the boost directory:

http://www.mingw.org/wiki/msys

Then just issue your bjam command as usual from within MSYS.

BJam is included within the Boost release in \tools\build\v2\engine\src. Don't make the mistake I did and try to use the separate download of BJam - that doesn't work.

After a lot of research, I got it to work and wrote up a step by step tutorial here:

http://petrkout.com/windows-2/compile-c-boost-libraries-in-windows-7-using-mingw32-and-masm32/

I hope this helps.

Downloaded previous release of Boost - 1.44. The same bjam (3.1.18-1-ntx86) with Boost 1.44 works just great.

./bootstrap.sh --with-toolset=mingw --prefix=/pathtomingw

worked for me

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!