Analyze build error fatal error LNK1181: cannot open input file 'C:\Documents.obj'
Posted on 2011-12-20 23:47 RunForever 阅读(2838) 评论(0) 编辑 收藏 举报Backgroud
The bellow error can be found from the build error while building project in VS2005
Linking...
LINK : fatal error LNK1181: cannot open input file 'C:\Documents.obj'
However, no file has name like documents.* in may project.
Analysis
'The error occurs because the linker in VS2005 can not find the file or the file path defined in the project properties. However, the file path or file in the properties is correct because the linker can handle space character in the file path.
To solve the issue, you just avoid to use space character in the file path or add quotation around file path in project properties.
Notes
quotation [kwəu'teiʃən]
n.语录, 引用, 行情, 引语, 报价
solve [sɔlv]
v.解决, 解答
I think I can solve the problem.
我想我能解决这问题。
analyze ['ænəlaiz]
References
http://support.microsoft.com/default.aspx?scid=kb;en-us;815645