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

问题描述

我已经创建了一个使用 libtorrent 的应用程序.因为我正在使用 boost 库.我尝试了 http://www.rasterbar.com/products/libtorrent/中给出的示例示例示例.html

I have created a application for using the libtorrent. In that I am using the boost library. I tried the sample example given in http://www.rasterbar.com/products/libtorrent/examples.html

&在我的 MSVC 9.0 中尝试过,但出现此错误

& tried it in my MSVC 9.0 but I am getting this error

1>链接:致命错误 LNK1104:无法打开文件libboost_system-vc90-mt-gd-1_36.lib"

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

如何解决这个问题,请帮帮我.

how to solve this problem please help me.

推荐答案

右键单击项目,然后选择属性"-->链接器"-->常规"-->附加库目录",添加您的libboost_system-vc90-mt-gd-1_36.lib 在其中的路径.属性"-->链接器"-->输入"-->附加依赖",在里面添加libboost_system-vc90-mt-gd-1_36.lib.

Right click the project, and choose "Properties" --> "Linker" --> "General" --> "Additional Library Directories", add your path of libboost_system-vc90-mt-gd-1_36.lib in it."Properties" --> "Linker" --> "Input" --> "Additional Dependencies", add libboost_system-vc90-mt-gd-1_36.lib in it.

我使用的是 MSVC 10.0,但我认为它是一样的.

I am using MSVC 10.0, but I think it is the same.

这篇关于1> 链接:致命错误 LNK1104:无法打开文件“libboost_system-vc90-mt-gd-1_36.lib"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-09 03:37