<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> </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>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: "C:/Program Files (x86)/NSIS/makensis.exe" /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: ""<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> </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> </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> </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> </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> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Ah, ok. 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: "NoRulez" <norulez@me.com><br>Date: Fri, May 20, 2011 1:40 pm<br>Subject: AW: [CMake] BundleUtilities with MinGW under Windows<br>To: "'Clinton Stimpson'" <clinton@elemtech.com><br>Cc: "'CMake MailingList'" <cmake@cmake.org><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> error: fixup_bundle: not a valid bundle<br>Call Stack (most recent call first):<br> 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. 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>> I get the message that the generated file (e.g Project.exe on Windows)<br>> isn't a valid Bundle, which is correct because bundle files exists only on<br>> Mac.<br>> <br>> Am 19.05.2011 um 16:39 schrieb <clinton@elemtech.com>:<br>> > And what error messages are you getting?<br>> > <br>> > Clint<br>> > <br>> > ----- Original Message -----<br>> > <br>> >> Sorry for the missing information.<br>> >> I use CMake 2.8.4 and have also Visual Studio 2008 installed.<br>> >> <br>> >> <br>> >> Best Regards<br>> >> <br>> >> Am 19.05.2011 um 05:52 schrieb "Clinton Stimpson" <<br>> >> clinton@elemtech.com >:<br>> >> <br>> >> <br>> >> <br>> >> <br>> >> <br>> >> <br>> >> <br>> >> <br>> >> What version of cmake? I don't think that QtTest example worked until<br>> >> CMake 2.8.3.<br>> >> <br>> >> <br>> >> And you have dumpbin available on Windows from a Visual Studio<br>> >> installation?<br>> >> It might be nice to add support for mingw's objdump tool to find<br>> >> dependent dlls.<br>> >> <br>> >> <br>> >> Clint<br>> >> <br>> >> <br>> >> On May 14, 2011, at 7:48 AM, NoRulez wrote:<br>> >> <br>> >> <br>> >> <br>> >> <br>> >> <br>> >> Hi @all,<br>> >> <br>> >> does anyone get BundleUtilities working on Windows and could give me<br>> >> help?<br>> >> I tried BundleUtilities under Windows, but the Qt dll’s (such as<br>> >> QtGui4.dll, …) and the MinGW dll’s (mingwm10.dll and<br>> >> libgcc_s_dw2-1.dll) are not packaged.<br>> >> <br>> >> I also tried the following, but same problem here:<br>> >> <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>> >> <br>> >> The following example does also not work on linux<br>> >> <br>> >> Much thanks in advance<br>> >> <br>> >> Best Regards<br>> >> NoRulez<br>> >> <br>> >> _______________________________________________<br>> >> <br>> >> Powered by www.kitware.com<br>> >> <br>> >> Visit other Kitware open-source projects at<br>> >> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>> >> <br>> >> Please keep messages on-topic and check the CMake FAQ at:<br>> >> <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br>> >> <br>> >> Follow this link to subscribe/unsubscribe:<br>> >> <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br>> >> <br>> >> <br>> >> <br>> >> _______________________________________________<br>> >> Powered by www.kitware.com<br>> >> <br>> >> Visit other Kitware open-source projects at<br>> >> <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>> >> <br>> >> Please keep messages on-topic and check the CMake FAQ at:<br>> >> <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br>> >> <br>> >> Follow this link to subscribe/unsubscribe:<br>> >> <a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br>> > <br>> > _______________________________________________<br>> > Powered by www.kitware.com<br>> > <br>> > Visit other Kitware open-source projects at<br>> > <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>> > <br>> > Please keep messages on-topic and check the CMake FAQ at:<br>> > <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br>> > <br>> > Follow this link to subscribe/unsubscribe:<br>> > <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>