Reputation: 1
i am using GLUT 3.7.6 with VC++6.0 n on compiling a program i get following error --------------------Configuration: abc2 - Win32 Debug-------------------- Linking... LINK : fatal error LNK1104: cannot open file "abc2.exe" Error executing link.exe.
abc2.exe - 1 error(s), 0 warning(s)
i have included all the header files ...linked all the lib files bt still the result is same...!!...please guide me through this problem...THNX in advance...!!
Upvotes: 0
Views: 2433
Reputation: 54178
You can check whether abc.exe is running using Process Explorer from sysinternals. If that's the case the link step will fail.
Also check the target file is not write-protected.
All the Microsoft tool error codes are documented online - see here for more reasons why you might see LNK1104.
Upvotes: 1
Reputation: 19837
This usually happens when the output file already exists and something has a lock on it. Check to see if abc2.exe is alright running, or of some program has a file lock on it.
Upvotes: 1