VS2008链接错误fatal error LNK1104: cannot open file '*.obj'

 

  This particular issue 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. This issue was fixed by changing this property from:

*.lib

To:

" *.lib"

  Where I added the quotes.

posted on 2018-03-14 11:04  我来乔23  阅读(755)  评论(0编辑  收藏  举报

导航