Visual Studio 2008 C ++ stopping during Linking

2019-07-29 04:34发布

问题:

I have written some image processing program using OpenCV 2.1 I received a error during linking, related to "projectname.ilk" file.(message said VS is trying a non-incremental linking). So I triied rebuilding the project. The initial message went away, but now VS never completes "Linking". It prints "1>Linking..." and stays that way.

What might be the problem?

Thanks

回答1:

If clean build fails to remedy, try eliminating /LTCG on the link and whole program optimization in c++. There have been some defects in this area.