博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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]  

vt.分析, 解析, 研究

References

http://support.microsoft.com/default.aspx?scid=kb;en-us;815645

http://social.msdn.microsoft.com/Forums/en/vssmartdevicesnative/thread/499baae0-72a9-4355-861b-8dd5b6b6c47c