boost 1_48 什么bjam? bjam Boost 版本不匹配的错误

发布于 2025-01-03 16:35:16 字数 366 浏览 4 评论 0原文

请帮忙,我有 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

月野兔 2025-01-10 16:35:16

您可以使用 boost 目录中的 bootstrap.bat 来为您创建正确的 bjam/b2 版本。

You can use bootstrap.bat in the boost directory which creates the right bjam/b2 version for you.

极度宠爱 2025-01-10 16:35:16

我刚刚遇到了同样的问题,已修复如下:
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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文