严重错误LNK1104 [英] fatal error LNK1104

查看:131
本文介绍了严重错误LNK1104的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

海,

  当我调试VC ++ 2008程序时,显示了以下错误

    " 致命错误LNK1104:无法打开文件'.\ m1 \ main.obj''

如何解决此错误


解决方案

 

 

您包含lib还是DLL?

 

可能是由于指定对路径中带有空格的lib文件的依赖关系引起的.为了正确编译项目,路径必须用引号引起来.

 

在配置中 属性->连结器->在项目属性的输入"标签中,有一个其他依赖项属性.

 

因此,更改其他依赖项属性可以解决此问题. >

 

希望我的阵型能为您提供帮助!

致谢!

Jesse


Hai,

  When I debug the VC++2008 programme,the following error was shown

    " fatal error LNK1104: cannot open file '.\m1\main.obj'"

How can fix this error


解决方案

 

Hi

 

Do you include lib or DLL?

 

Maybe it is caused by specifying a dependency to a lib file that had spaces in its path. The path needs to be surrounded by quotes for the project to compile correctly.

 

On the Configuration Properties -> Linker -> Input tab of the project’s properties, there is an Additional Dependencies property.

 

So change the Additional Dependencies property can solve it.

 

Hope my formation can help you!

Regards!

Jesse


这篇关于严重错误LNK1104的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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