如何仅使用 Boost 库的 Asio?

发布于 2024-11-18 13:46:08 字数 152 浏览 5 评论 0原文

我如何仅使用Boost库的Asio而不添加任何其他库?这可能吗?

Boost 中,没有名为“lib”且包含 *.a 文件的文件夹吗?

how I use only the Asio of Boost Library without adding any other library? Is that possible?

In the Boost, don't have the folder called "lib" with the *.a files?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

旧竹 2024-11-25 13:46:08

Asio 作为独立库存在,完全独立于 Boost(这是“原始版本”)。

如果您不想使用 Boost,则无需从 Boost 子目录中搜索所有内容,只需下载 Asio 并使用它即可。 :-)

Asio exists as as standalone library, entirely independent of Boost (this is the "original").

No need to search together the bits from Boost subdirectories if you don't want to use Boost, just download Asio and use that. :-)

南…巷孤猫 2024-11-25 13:46:08

由于 Asio 是一个仅包含头文件的库,因此没有与其关联的 lib 文件。您可以使用 < 只提取绝对需要的头文件code>bcp,其中包含。

Since Asio is a header-only library, there are no lib files associated with it. You can extract only the absolutly needed header files with bcp, which is included.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文