1
NXPTM M522XX, KINETIS and i.MX RT / Re: Visual C ++ errors
« on: August 23, 2015, 10:53:48 PM »
Hi,
Hi,
I came across this problem as well. It is because there are two copies of the file cvtres.exe
I ended up just changing the name of one of them. I found the solution on the web.
-----------------------------------------------------------------------------
It turned out that I had two versions of this utility. One at C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cvtres.exe and one at C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe. After VS2012 install, the VS2010 version of cvtres.exe will no longer work. If that's the first one in your path, and the linker decides it needs to convert a .res file to COFF object format, the link will fail with LNK1123.
(Really annoying that the error message has nothing to do with the actual problem, but that's not unusual for a Microsoft product.)
Just delete/rename the older version of the utility, or re-arrange your PATH variable, so that the version that works comes first.
------------------------------------------------------------------------------
Cheers,
Peter
Hi,
I came across this problem as well. It is because there are two copies of the file cvtres.exe
I ended up just changing the name of one of them. I found the solution on the web.
-----------------------------------------------------------------------------
It turned out that I had two versions of this utility. One at C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cvtres.exe and one at C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe. After VS2012 install, the VS2010 version of cvtres.exe will no longer work. If that's the first one in your path, and the linker decides it needs to convert a .res file to COFF object format, the link will fail with LNK1123.
(Really annoying that the error message has nothing to do with the actual problem, but that's not unusual for a Microsoft product.)
Just delete/rename the older version of the utility, or re-arrange your PATH variable, so that the version that works comes first.
------------------------------------------------------------------------------
Cheers,
Peter