我从 Boost 网站下载了 Boost 1.54 tar,然后按照此处详述的说明进行操作 [1]。
特别是,我想在文件夹中安装我的 boost 库
$HOME/BOOST
使用这个:
$ ./bootstrap.sh --prefix=$HOME/BOOST
但是安装之后,这个文件夹还是空的。这是为什么?
P.S.: Boost安装最后说:
common.copy stage/lib/libboost_wave.a
...failed updating 62 targets...
...skipped 18 targets...
...updated 1004 targets...
[1] http://www.boost.org/doc/libs/1_54_0/more/getting_started/unix-variants.html
最佳答案
boost 库文件在/usr/lib/x86_64-linux-gnu 中。您还会在那里看到一大堆其他库。
关于c++ - Boost 安装在我的 Ubuntu 上的哪个位置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18842045/