简体   繁体   English

我如何只使用 Boost Library 的 Asio?

[英]How I use only Asio of Boost Library?

how I use only the Asio of Boost Library without adding any other library?我如何只使用 Boost Library 的 Asio而不添加任何其他库? Is that possible?那可能吗?

In the Boost , don't have the folder called " lib " with the * .a files?Boost中,没有名为“ lib ”的文件夹和 * .a文件?

Asio exists as as standalone library, entirely independent of Boost (this is the "original"). Asio作为独立库存在,完全独立于 Boost(这是“原始”)。

No need to search together the bits from Boost subdirectories if you don't want to use Boost, just download Asio and use that.如果您不想使用 Boost,则无需一起搜索 Boost 子目录中的位,只需下载 Asio 并使用它即可。 :-) :-)

Since Asio is a header-only library, there are no lib files associated with it.由于Asio是一个仅包含头文件的库,因此没有与之关联的lib文件。 You can extract only the absolutly needed header files with bcp , which is included.您可以使用包含的bcp仅提取绝对需要的 header 文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM