<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-AT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>OK thanks, here is the verbose output:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>C:\Repository\Git\TestProject\build&gt;cpack -V -G NSIS<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack: Enable Verbose<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose: Read CPack config file:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose: Read CPack configuration file: C:/Repository/Git/TestProject/build/CPackConfig.cmake<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose: Specified generator: NSIS<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose: Test NSIS version: &quot;C:/Program Files (x86)/NSIS/makensis.exe&quot; /VERSION<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose: Use generator: cmCPackNSISGenerator<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose: For project: QtTest<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack: Create package using NSIS<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose: Read description file: C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Templates/CPack.GenericDescription.txt<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose: Remove toplevel directory: C:/Repository/Git/TestProject/build/_CPack_Packages/win32/NSIS<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack: Install projects<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack: - Run preinstall target for: QtTest<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack: - Install project: QtTest<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose: Install configuration: &quot;&quot;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose: Installing: C:/Repository/Git/TestProject/build/_CPack_Packages/win32/NSIS/QtTest-0.1.1-win32/./QtTest.exe<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose: fixup_bundle<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose:   app='C:/Repository/Git/TestProject/build/_CPack_Packages/win32/NSIS/QtTest-0.1.1-win32/bin/QtTest.exe'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose:   libs=''<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose:   dirs='C:/Qt/2010.05/qt/lib'<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose: warning: *NOT* handled - directory/file does not exist...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/BundleUtilities.cmake:657 (message):<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  error: fixup_bundle: not a valid bundle<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Call Stack (most recent call first):<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  C:/Repository/Git/TestProject/build/cmake_install.cmake:45 (fixup_bundle)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Verbose: fixup_bundle: done<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>CPack Error: Error when generating package: QtTest<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> cmake-bounces@cmake.org [mailto:cmake-bounces@cmake.org] <b>Im Auftrag von </b>clinton@elemtech.com<br><b>Gesendet:</b> Freitag, 20. Mai 2011 21:46<br><b>An:</b> cmake@cmake.org<br><b>Betreff:</b> Re: [CMake] BundleUtilities with MinGW under Windows<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Ah, &nbsp;ok. &nbsp;You can see related warnings if you run cpack with -V option to make it verbose.<br><br>Clint<br><br>----- Reply message -----<br>From: &quot;NoRulez&quot; &lt;norulez@me.com&gt;<br>Date: Fri, May 20, 2011 1:40 pm<br>Subject: AW: [CMake] BundleUtilities with MinGW under Windows<br>To: &quot;'Clinton Stimpson'&quot; &lt;clinton@elemtech.com&gt;<br>Cc: &quot;'CMake MailingList'&quot; &lt;cmake@cmake.org&gt;<br><br><br>For the QtTest example I get the following error:<br><br>CPack: Create package using NSIS<br>CPack: Install projects<br>CPack: - Run preinstall target for: QtTest<br>CPack: - Install project: QtTest<br>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/BundleUtilities.cmake:657 (message):<br>&nbsp;error: fixup_bundle: not a valid bundle<br>Call Stack (most recent call first):<br>&nbsp;C:/Repository/Git/TestProject/build/cmake_install.cmake:45 (fixup_bundle)<br><br><br>CPack Error: Error when generating package: QtTest<br><br>-----Ursprüngliche Nachricht-----<br>Von: Clinton Stimpson [mailto:clinton@elemtech.com] <br>Gesendet: Freitag, 20. Mai 2011 18:47<br>An: NoRulez<br>Cc: CMake MailingList<br>Betreff: Re: [CMake] BundleUtilities with MinGW under Windows<br><br><br>The term bundle is used loosely here. &nbsp;The error message hopefully tell you <br>why it isn't valid, or you could give us the complete error message you are <br>getting.<br><br>Clint<br><br>On Friday, May 20, 2011 10:29:16 am NoRulez wrote:<br>&gt; I get the message that the generated file (e.g Project.exe on Windows)<br>&gt; isn't a valid Bundle, which is correct because bundle files exists only on<br>&gt; Mac.<br>&gt; <br>&gt; Am 19.05.2011 um 16:39 schrieb &lt;clinton@elemtech.com&gt;:<br>&gt; &gt; And what error messages are you getting?<br>&gt; &gt; <br>&gt; &gt; Clint<br>&gt; &gt; <br>&gt; &gt; ----- Original Message -----<br>&gt; &gt; <br>&gt; &gt;&gt; Sorry for the missing information.<br>&gt; &gt;&gt; I use CMake 2.8.4 and have also Visual Studio 2008 installed.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Best Regards<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Am 19.05.2011 um 05:52 schrieb &quot;Clinton Stimpson&quot; &lt;<br>&gt; &gt;&gt; clinton@elemtech.com &gt;:<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; What version of cmake? &nbsp;I don't think that QtTest example worked until<br>&gt; &gt;&gt; CMake 2.8.3.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; And you have dumpbin available on Windows from a Visual Studio<br>&gt; &gt;&gt; installation?<br>&gt; &gt;&gt; It might be nice to add support for mingw's objdump tool to find<br>&gt; &gt;&gt; dependent dlls.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Clint<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; On May 14, 2011, at 7:48 AM, NoRulez wrote:<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Hi @all,<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; does anyone get BundleUtilities working on Windows and could give me<br>&gt; &gt;&gt; help?<br>&gt; &gt;&gt; I tried BundleUtilities under Windows, but the Qt dll’s (such as<br>&gt; &gt;&gt; QtGui4.dll, …) and the MinGW dll’s (mingwm10.dll and<br>&gt; &gt;&gt; libgcc_s_dw2-1.dll) are not packaged.<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; I also tried the following, but same problem here:<br>&gt; &gt;&gt; <a href="http://www.vtk.org/Wiki/images/2/25/QtTest-Package-Example.zip">http://www.vtk.org/Wiki/images/2/25/QtTest-Package-Example.zip</a><br>&gt; &gt;&gt; <br>&gt; &gt;&gt; The following example does also not work on linux<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Much thanks in advance<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Best Regards<br>&gt; &gt;&gt; NoRulez<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; &nbsp;_______________________________________________<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Powered by &nbsp; www.kitware.com<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Visit other Kitware open-source projects at<br>&gt; &gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Please keep messages on-topic and check the CMake FAQ at:<br>&gt; &gt;&gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<br>&gt; &gt;&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; <br>&gt; &gt;&gt; _______________________________________________<br>&gt; &gt;&gt; Powered by www.kitware.com<br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Visit other Kitware open-source projects at<br>&gt; &gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Please keep messages on-topic and check the CMake FAQ at:<br>&gt; &gt;&gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br>&gt; &gt;&gt; <br>&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<br>&gt; &gt;&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br>&gt; &gt; <br>&gt; &gt; _______________________________________________<br>&gt; &gt; Powered by www.kitware.com<br>&gt; &gt; <br>&gt; &gt; Visit other Kitware open-source projects at<br>&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>&gt; &gt; <br>&gt; &gt; Please keep messages on-topic and check the CMake FAQ at:<br>&gt; &gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br>&gt; &gt; <br>&gt; &gt; Follow this link to subscribe/unsubscribe:<br>&gt; &gt; <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br><br>-- <br>Clinton Stimpson<br>Elemental Technologies, Inc<br>Computational Simulation Software, LLC<br>www.csimsoft.com<br><br><br><o:p></o:p></p></div></body></html>