<div class="gmail_quote">On Wed, Jan 14, 2009 at 3:12 PM, Ted Berg <span dir="ltr"><<a href="mailto:tberg@vivox.com">tberg@vivox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have been tasked with converting an existing Visual Studio project 2008 to CMake 2.6.2. The stumbling block is that this project uses a precreated manifest file, which is included in an .rc file.<br>
<br>
When the target links I get the following error:<br>
CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:2, language:0x0409<br>
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt<br>
LINK Pass 1 failed. with 1123<br>
<br>
It seems clear to me that the issue here is that I have two manifests getting linked into the target.<br>
<br>
Is there any way for me to prevent CMake from automatically generating and including its own manifest?</blockquote><div><br>Wouldn't there be a linker flag for this kind of thing? You may want to have a look at your existing MSVC Projects and compare them with what CMake is generating?<br>
</div></div><br>-- <br>Philip Lowman<br>