1>LINK : fatal error LNK1181: cannot open input file 'xxx.obj'
2013-04-15 15:02
1071 查看
最近被一个很低级的问题差点搞死,而且很容易就能描述清楚,所以必须记录下来。
前几天下载了一个别人的demo,然后在debug下配置编译正常运行;配置Release的时候基本都是copy过去的,结果编译时出现链接错误
1>LINK: fatal error LNK1181: cannot open input file 'xxx.obj',搞了2天才发现问题所在。原因很简单,就是添加(copy)依赖库的时候阴差阳错的把这个xxx.lib的后缀“.lib”给弄丢了,所以才报错,真心坑爹啊,当时的想法就是想找个墙撞上去……
希望有人不要犯同样的错误啊!!!!!!
前几天下载了一个别人的demo,然后在debug下配置编译正常运行;配置Release的时候基本都是copy过去的,结果编译时出现链接错误
1>LINK: fatal error LNK1181: cannot open input file 'xxx.obj',搞了2天才发现问题所在。原因很简单,就是添加(copy)依赖库的时候阴差阳错的把这个xxx.lib的后缀“.lib”给弄丢了,所以才报错,真心坑爹啊,当时的想法就是想找个墙撞上去……
希望有人不要犯同样的错误啊!!!!!!
相关文章推荐
- LINK : fatal error LNK1104: cannot open file 'xxx.exe'
- LINK : fatal error LNK1181: cannot open input file ‘xxx.obj’
- LINK : fatal error LNK1104: cannot open file 'mfcs42d.lib'
- 关于fatal error C1083: Cannot open precompiled header file: /'Debug/xxx.pch/': 错
- LNK1104: cannot open file 'XXX.map'
- Solution for link error:Cannot Open File 'python27_d.lib'
- 如何解决VS2008调试时出现LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
- LINK : fatal error LNK1104: cannot open file "D:\Program.obj" 问题解决
- VS2008编译错误—LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
- fatal error LNK1181: cannot open input file ",.obj"
- 使用TC调试c语言的时候运行时出现“unable to open input file 'cos.obj'
- fatal error C1083: Cannot open precompiled header file: 'Debug/xxx.pch': No such file or directory
- LINK : fatal error LNK1104: cannot open file 'uiAccess='false' XXX\dDocument\Visual.obj
- LINK : fatal error LNK1104: cannot open file''**.lib'' 和 error LNK2001:
- LINK : fatal error LNK1104: cannot open file 'LIBCD.lib' 解决办法
- VC fatal error C1083: Cannot open precompiled header file: /'Debug/xxx.pch/':
- LINK : fatal error LNK1104: cannot open file 'LIBCD.lib'
- C1803:ERROR Cannot open precompiled header file: 'Debug/XXX.pch': No such file or directory
- vc6.0 转 vs2008 时 遇到这样的错误时“BSCMAKE: error BK1506 : cannot open file './Debug/xxx.sbr': No such
- 1>LINK : fatal error LNK1104: cannot open file '.obj'