我很难编一些程序。
error: undefined reference to 'boost::iostreams::zlib::best_speed因此,我试图在Ubuntu 19.10上构建boost 1.72.0
$ ./b2
Building the Boost C++ Libraries.
- zlib : no (cached)
- bzip2 : yes (cached)但看来我已经有zlib了。
$ apt show zlib1g
Package: zlib1g
Version: 1:1.2.11.dfsg-1ubuntu3
$ apt show zlib1g-dev
Package: zlib1g-dev
Version: 1:1.2.11.dfsg-1ubuntu3我可以以某种方式显式地传递到zlib到b2的路径吗?
我的系统中有一个标题:
$ find /usr/include -name "zlib.h"
/usr/include/zlib.h发布于 2020-02-09 10:11:25
https://askubuntu.com/questions/1209108
复制相似问题