致命错误LNK1104

Bah*_*reh 6 visual-c++

当我在visual studio c ++ 2008中编译我的代码时,我收到以下错误:

fatal error LNK1104: cannot open file 'C:\Users\...\Documents\Visual Studio         
2008\Projects\...\Debug\....exe
Run Code Online (Sandbox Code Playgroud)

我刚从Visual Studio C++中的另一个项目中复制了我的代码,并再次在VS C++中将其粘贴到这个项目中.它会导致此错误吗?

Pup*_*ppy 7

这可能是因为,例如,可执行文件当前正在由另一个程序执行或打开,或者因为您没有该目录的正确权限.