bjam for boost 1.54

倖福魔咒の 提交于 2021-01-28 21:07:23

问题


I've boost 1.54 installed in Linux Debian (according to this). Then I installed bjam as follows:

apt-get install bjam

Then, in order to run a sample tut1 program with boost filesystem I typed:

$ cd boost-root/libs/filesystem/example/test
$ ./setup.sh
$ ./bld.sh

This should result in building tut1 file. But there is no tut1 file in test folder. There is only tut1.cpp copied here by setup.sh. I suspect the bjam installed is not for boost 1.54. How to install bjam properly?

After typing bjam I get:

warning: mismatched versions of Boost.Build engine and core
warning: Boost.Build engine (bjam) is 03.1.16
warning: Boost.Build core (at /usr/include/boost_1_54_0/tools/build/v2) is 2011.12-svn

来源:https://stackoverflow.com/questions/18401728/bjam-for-boost-1-54

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