Click here to Skip to main content
15,906,624 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am getting following error when I compile VC++ or C++ program in Visual Studio 2010. Can somebody help on this issue?
------ Build started: Project: Win32Test, Configuration: Release Win32 ------
1)  stdafx.cpp
1)  Win32Test.cpp
1)  /usr/bin/link: cannot create link `@C:\\Documents and Settings\\sivakoyi\\Local Settings\\Temp\\38228641ba1e4718afce98237c2023f2.rsp' to `/ERRORREPORT:PROMPT': No such file or directory
1) C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(268,5): error MSB6006: "link.exe" exited with code 1.
Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped 
Updated 13-Aug-10 6:05am

The path "/usr/bin/link" shows that you have cygwin installed and that your search path makes visual studio 2010 find the cygwin linker before the visual studio linker.
- rearange your search path
- or dirty rename the cygwin linker so that visual studio doesn't find it.
Share this answer
Albert Holguin 20-Nov-11 20:31pm    
If this is the problem... nice catch! +5
don't generate manifest file, I think change manifest setting could solve your problem.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900