boost 1_48 什么bjam? bjam Boost 版本不匹配的错误
请帮忙,我有 WindowsXP,我已经从 https://sourceforge 下载了 3.1.18 bjam .net/projects/boost/files/boost-jam/ 因为它看起来像是最新的(但是 2010 年?),因为我无法从 QuantLib 运行示例测试 错误是:找不到 libboost_unit_test_framework lib,
所以我运行这个 bjam,但它说:Boost 版本不匹配。构建引擎和核心。是 03.1.18 ,核心是 2011.04-svn
我该怎么办?请帮忙!
please help, I have WindowsXP, I have downloaded 3.1.18 bjam from https://sourceforge.net/projects/boost/files/boost-jam/ as it looks like the most recent (but is 2010?) becouse I can't run examples tests from QuantLib
the error is: cannot find libboost_unit_test_framework lib
so I run this bjam, but it says: mismatched versions of Boost. Build enggine and core. is 03.1.18 , core is 2011.04-svn
what should I do? please help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用 boost 目录中的 bootstrap.bat 来为您创建正确的 bjam/b2 版本。
You can use bootstrap.bat in the boost directory which creates the right bjam/b2 version for you.
我刚刚遇到了同样的问题,已修复如下:
1.检查你的%PATH%,其中是否有mingw(或其他GCC变体)路径?
2.如果有,则进入该文件夹,检查是否有“bjam.exe”文件?
3.如果是,则重命名。
I just got the same problem, fixed as the following:
1. check your %PATH%, is there mingw(or other GCC variant) path in it?
2. if yes, then go into the folder, check if there is a file "bjam.exe"?
3. if yes, then rename it.