CompileCodeI need to configure the VC environment on my machine. When I encountered such a problem, I found a similar problem and answer in the csdn post. Now I have recorded it.
Problem:
Link: Fatal error lnk1104: the file "C:/xxx. OBJ" cannot be opened"
When you encounter such a problem, you can first look at the link command line, project-> properties-> linker-> command line, here, the "Additional dependency" set earlier may have been rewritten by IDE. For example, you need to add a XXX. the Link Library of Lib. The complete path is "C:/program files/xxx. lib ", changed to" C:/Program "" files/xxx. lib ", the corresponding command line is changed to link (...) "C:/Program" "files/xxx. lib, then the linker will require "C:/program. OBJ "file. Because the file does not exist, the above debugging information link: Fatal error lnk1104 will be returned: the file" C:/xxx. OBJ ".
PS: I encountered this problem today, but it was not changed by IDE, but the path I wrote was incorrect. Many of these errors are probably caused by this problem. I would like to record it here.