致命错误LNK1104:无法打开文件'libboost_system-vc90-MT-GD-1_43.lib“ [英] fatal error LNK1104: cannot open file 'libboost_system-vc90-mt-gd-1_43.lib'

查看:468
本文介绍了致命错误LNK1104:无法打开文件'libboost_system-vc90-MT-GD-1_43.lib“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

做了一个新的项目,新增的main.cpp并写下了code。在这个网址:

Made a new project, added main.cpp and wrote the code at this URL:

<一个href=\"http://www.boost.org/doc/libs/1_43_0/doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp\">http://www.boost.org/doc/libs/1_43_0/doc/html/boost_asio/example/echo/async_tcp_echo_server.cpp

另外,添加了相应的包含路径。

Also, added the appropriate include path.

接下来是什么?!?!这似乎是一个混账神秘建立一个升压code!

What's next?!?!! It seems like a darn mystery to build a boost code!

一直在挖掘它进行10小时以上。

Been digging on it for more than 10 hours.

任何人都可以就如何从code Windows下建立Boost库一个直截了当的回答,VC9?

Can anyone give a straightforward answer on how to build the boost library from the code under windows, VC9?

推荐答案

您需要使用的bjam。它负责创建应用程序将使用的库。一旦你开始使用的bjam,你将需要指示您的项目包含的lib文件。 >配置属性 - - >链接器 - >常规您可以通过进入项目的属性做到这一点。添加这创造的lib文件附加库目录的目录。你应当能够经过该正确连接。
我相信,<一个href=\"http://www.boost.org/doc/libs/1_43_0/more/getting_started/windows.html#or-build-binaries-from-source\">this链接描述的步骤比我能在后试图

You need to use bjam. It is responsible for creating the libraries that your application will use. Once you use bjam, you are going to need to instruct your project to include the lib file. You do this by going into the project's properties -> Configuration Properties -> Linker -> General. Add the directory which created the lib file to Additional Library Directories. You should be capable of correctly linking after that. I believe that this link describes the steps better than I could attempt in a post

这篇关于致命错误LNK1104:无法打开文件'libboost_system-vc90-MT-GD-1_43.lib“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆