Did you start with an absolutely clean build tree, or might there be some build output leftover from CMake 2.4...?<br><br><br><div class="gmail_quote">On Tue, Jun 17, 2008 at 1:55 PM, Ted Berg <<a href="mailto:tberg@vivox.com">tberg@vivox.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Sources & build files for a DLL which has been a CMake 2.4 target are being migrated to a CMake 2.6 project. This target in the 2.4 project has been well behaved for months, but fails to link under CMake 2.6 generated NMake Makefiles.<br>
<br>
The basic error is as follows:<br>
Linking CXX shared library QtVivoxSDK.dll<br>
The parameter is incorrect<br>
QtVivoxSDK.dll.intermediate.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified.<br>
<br>
Looking at the VERBOSE=1 output it appears that the link.exe call which generates the intermediate manifest (LINK Pass 1:) is failing with the error "The parameter is incorrectMT:", and the subsequent mt call to update the embedded manifest fails because it can't find the intermediate manifest.<br>
<br>
Given that<br>
1. The build files which generate the above failure in CMake 2.6 NMake Makefiles *succeed* when built by CMake 2.4 NMake Makefiles<br>
2. The build files which generate the above failure in CMake 2.6 NMake Makefiles also succeed when built in the Visual Studio IDE.<br>
3. The link command line is *huge*. I don't have any real numbers as far as character length is concerned, but it's very likely to exceed the windows command line length limit.<br>
4. This is my initial exposure to CMake 2.6<br>
<br>
What course of action is most likely to help me resolve this issue? I can post logs, or build files. I'm not allergic to docs, just not sure where to start looking for 2.6 troubleshooting info.<br>
<br>
Is there a variable I can set which would re-enable passing arguments to the win32 build tools via temp files? I'd rather avoid it but this seems like a reasonable first step.<br>
<br>
Ted<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org" target="_blank">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br>