visual-studio-2010visual-c++hyperlink

LNK1000: Internal error during IMAGE::BuildImage


I have a problem with linking in VC++ 2010. When I compile in the debug mode it's ok, but in the release mode I regular receive the error "LNK1000: Internal error during IMAGE::BuildImage".

What am I doing wrong?


Solution

  • It began work as soon as I have changed "Whole program optimization" option from "Use Link Time Code Generation" to "Profile Guided Optimization-Instrument".