我已经在 Linux Debian 中安装了 boost 1.54(根据this)。然后我安装bjam
如下:
apt-get install bjam
然后,为了运行一个示例tut1程序,boost filesystem
我输入:
$ cd boost-root/libs/filesystem/example/test
$ ./setup.sh
$ ./bld.sh
这应该会导致构建tut1
文件。tut1
但是文件夹中没有文件test
。此处仅tut1.cpp
由 复制setup.sh
。我怀疑bjam
安装的不是boost 1.54。如何正确安装bjam?
输入后bjam
我得到:
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