使用MinGW构建Boost 1.45 [英] Build Boost 1.45 using MinGW

查看:257
本文介绍了使用MinGW构建Boost 1.45的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在Windows XP上使用MinGW编译Boost 1.45。

Try to compile Boost 1.45 on Windows XP using MinGW. I did it a year ago and almost forgot how to repeat it.

%PATH%包含MinGW路径。

user-config.jam包含使用gcc;

bjam(ntx86一) rel =nofollow>此处。

%PATH% contains MinGW path.
user-config.jam contains using gcc ;
bjam (the ntx86 one) from here.

输出:

<path> > bjam --build-dir="E:\Boost" --build-type=complete toolset=gcc stage

<path>/tools/build/v2/build\configure.jam:145: in builds-raw
*** argument error
* rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? )
* called with: ( <pbin.v2\libs\regex\build\gcc-mingw-4.4.1\debug>has_icu.exe :  : ignore-minus-n : ignore-minus-q )
* extra argument ignore-minus-q
(builtin):see definition of rule 'UPDATE_NOW' being called
<path>/tools/build/v2/build\configure.jam:179: in configure.builds
<path>/tools/build/v2/build\configure.jam:216: in object(check-target-builds-worker)@409.check


推荐答案

下载了Boost的早期版本 - 1.44。与Boost 1.44相同的bjam( 3.1.18-1-ntx86 )效果非常好。

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

这篇关于使用MinGW构建Boost 1.45的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆