开发者

How to build boost::asio example?

I'm trying to build an example of boost::asio

http://www.boost.org/doc/libs/1_43_0/doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp

but without any luck.

System: Windows Vista, Visual C++ 2008 Pro, Boost 1.43.

I've added to the project, at VC, the include path and the additional lib path (see note #1), yet the linker gives me this error:

1>LINK : fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-gd-1_43.lib'

What do I do next?

In the documentation (the "getting started" part) i开发者_运维技巧t says that some boost's components must be built separately. Ok.

How do I do this and where do I find them?

In the "getting started" page there's the section "6.1 Link From Within the Visual Studio IDE". It just tells me how to link, and not how to build it.

Anyone can shed some light? Because I am definitely missing something here.

Note #1: There's not "boost_1_43_0/lib" folder but a "libs". The doc needs a refresh.


Check out this, I needed to re-phrase in order to get an answer:

fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-gd-1_43.lib'

Thank you all!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜