[CMake] BundleUtilities with MinGW under Windows

clinton@elemtech.com clinton at elemtech.com
Fri May 20 15:45:32 EDT 2011


Ah,  ok.  You can see related warnings if you run cpack with -V option to make it verbose.

Clint

----- Reply message -----
From: "NoRulez" <norulez at me.com>
Date: Fri, May 20, 2011 1:40 pm
Subject: AW: [CMake] BundleUtilities with MinGW under Windows
To: "'Clinton Stimpson'" <clinton at elemtech.com>
Cc: "'CMake MailingList'" <cmake at cmake.org>


For the QtTest example I get the following error:

CPack: Create package using NSIS
CPack: Install projects
CPack: - Run preinstall target for: QtTest
CPack: - Install project: QtTest
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/BundleUtilities.cmake:657 (message):
  error: fixup_bundle: not a valid bundle
Call Stack (most recent call first):
  C:/Repository/Git/TestProject/build/cmake_install.cmake:45 (fixup_bundle)


CPack Error: Error when generating package: QtTest

-----Ursprüngliche Nachricht-----
Von: Clinton Stimpson [mailto:clinton at elemtech.com] 
Gesendet: Freitag, 20. Mai 2011 18:47
An: NoRulez
Cc: CMake MailingList
Betreff: Re: [CMake] BundleUtilities with MinGW under Windows


The term bundle is used loosely here.  The error message hopefully tell you 
why it isn't valid, or you could give us the complete error message you are 
getting.

Clint

On Friday, May 20, 2011 10:29:16 am NoRulez wrote:
> I get the message that the generated file (e.g Project.exe on Windows)
> isn't a valid Bundle, which is correct because bundle files exists only on
> Mac.
> 
> Am 19.05.2011 um 16:39 schrieb <clinton at elemtech.com>:
> > And what error messages are you getting?
> > 
> > Clint
> > 
> > ----- Original Message -----
> > 
> >> Sorry for the missing information.
> >> I use CMake 2.8.4 and have also Visual Studio 2008 installed.
> >> 
> >> 
> >> Best Regards
> >> 
> >> Am 19.05.2011 um 05:52 schrieb "Clinton Stimpson" <
> >> clinton at elemtech.com >:
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> What version of cmake?  I don't think that QtTest example worked until
> >> CMake 2.8.3.
> >> 
> >> 
> >> And you have dumpbin available on Windows from a Visual Studio
> >> installation?
> >> It might be nice to add support for mingw's objdump tool to find
> >> dependent dlls.
> >> 
> >> 
> >> Clint
> >> 
> >> 
> >> On May 14, 2011, at 7:48 AM, NoRulez wrote:
> >> 
> >> 
> >> 
> >> 
> >> 
> >> Hi @all,
> >> 
> >> does anyone get BundleUtilities working on Windows and could give me
> >> help?
> >> I tried BundleUtilities under Windows, but the Qt dll’s (such as
> >> QtGui4.dll, …) and the MinGW dll’s (mingwm10.dll and
> >> libgcc_s_dw2-1.dll) are not packaged.
> >> 
> >> I also tried the following, but same problem here:
> >> http://www.vtk.org/Wiki/images/2/25/QtTest-Package-Example.zip
> >> 
> >> The following example does also not work on linux
> >> 
> >> Much thanks in advance
> >> 
> >> Best Regards
> >> NoRulez
> >> 
> >>  _______________________________________________
> >> 
> >> Powered by   www.kitware.com
> >> 
> >> Visit other Kitware open-source projects at
> >> http://www.kitware.com/opensource/opensource.html
> >> 
> >> Please keep messages on-topic and check the CMake FAQ at:
> >> http://www.cmake.org/Wiki/CMake_FAQ
> >> 
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.cmake.org/mailman/listinfo/cmake
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> Powered by www.kitware.com
> >> 
> >> Visit other Kitware open-source projects at
> >> http://www.kitware.com/opensource/opensource.html
> >> 
> >> Please keep messages on-topic and check the CMake FAQ at:
> >> http://www.cmake.org/Wiki/CMake_FAQ
> >> 
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.cmake.org/mailman/listinfo/cmake
> > 
> > _______________________________________________
> > Powered by www.kitware.com
> > 
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> > 
> > Please keep messages on-topic and check the CMake FAQ at:
> > http://www.cmake.org/Wiki/CMake_FAQ
> > 
> > Follow this link to subscribe/unsubscribe:
> > http://www.cmake.org/mailman/listinfo/cmake

-- 
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110520/f12db2b6/attachment-0001.htm>


More information about the CMake mailing list