boost ptr_container library isn't installed after compilation from source

社会主义新天地 提交于 2019-12-05 14:41:24
Bruno Alexandre Rosa
git clone https://github.com/boostorg/boost.git
cd boost
git checkout boost-1.57.0
git submodule update --init --recursive
./bootstrap.sh
sudo ./b2 install
sudo ./b2 headers

As pointed out by rivanov in the comments, ./b2 headers does the trick to include the header-only files in the installation dir.

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