I'm trying to build Qt using nmake
. But when I try this I get the below linking error.
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
As far as I know this is due to the .NET framework version (I'm using .NET 4.5) and I get the same linking error when I'm compiling c++ projects in VS2010. To get rid of it, I disable incremental linking as suggested in this post.
But I don't know how to do it when I'm running nmake
from the VS command line. Do I have to mention it while configuring or can i pass it as a parameter to nmake ?