gpt4 book ai didi

c++ - 在没有 boost 的情况下编译asio库

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:07:46 62 4
gpt4 key购买 nike

我正在尝试在没有 boost 库的情况下编译 asio。 http://think-async.com/Asio/Documentation

所以,我做到了

 ./configure --prefix=/raspberry/asio/product

我得到了错误

checking boost/noncopyable.hpp usability... no
checking boost/noncopyable.hpp presence... no
checking for boost/noncopyable.hpp... no
Can't find boost headers. Please check the location of the boost
distribution and rerun configure using the --with-boost=DIR option.

我认为这个 asio 不需要 boost 。

因此,接下来我获取带有 boost 的 asio 库并获取 boost 文件夹并将其放入 asio(非 boost)文件夹中。

但它仍然给我同样的错误。

最佳答案

./configure --prefix=/raspberry/asio/product --without-boost

关于c++ - 在没有 boost 的情况下编译asio库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18136738/

62 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com