release build won't link

release build won't link


I'm trialling icl v6 and have a wierd problem. The debug builds OK but the release build fails with the following msg:

link: executing 'C:PROGRA~1MICROS~3VC98Binlink.exe'
Creating library .Release/MPrintout.lib and object .Release/MPrintout.exp
The system cannot find the path specified.
0 file(s) copied.
Error executing c:windowssystem32cmd.exe.

The project is copied from an MSVC 6 one, and compiles/links without problem under the MS product. Any ideas anyone?

Jeremy Gugenheim

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Just a wild guess. Check Project -> Settings-> Post-Build Step tab (under Release). You probably have a command to copy a file (library file?) to a specific directory that does not exist. This command must not be there for the Debug version to work.

Thank you! One of our other engineers had changed the build settings without telling the rest of us... So a wild guess maybe, but spot on.


Nice catch!


Leave a Comment

Please sign in to add a comment. Not a member? Join today