[CMake] BundleUtilities with MinGW under Windows
NoRulez
norulez at me.com
Fri May 20 15:52:17 EDT 2011
OK thanks, here is the verbose output:
C:\Repository\Git\TestProject\build>cpack -V -G NSIS
CPack: Enable Verbose
CPack Verbose: Read CPack config file:
CPack Verbose: Read CPack configuration file: C:/Repository/Git/TestProject/build/CPackConfig.cmake
CPack Verbose: Specified generator: NSIS
CPack Verbose: Test NSIS version: "C:/Program Files (x86)/NSIS/makensis.exe" /VERSION
CPack Verbose: Use generator: cmCPackNSISGenerator
CPack Verbose: For project: QtTest
CPack: Create package using NSIS
CPack Verbose: Read description file: C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Templates/CPack.GenericDescription.txt
CPack Verbose: Remove toplevel directory: C:/Repository/Git/TestProject/build/_CPack_Packages/win32/NSIS
CPack: Install projects
CPack: - Run preinstall target for: QtTest
CPack: - Install project: QtTest
CPack Verbose: Install configuration: ""
CPack Verbose: Installing: C:/Repository/Git/TestProject/build/_CPack_Packages/win32/NSIS/QtTest-0.1.1-win32/./QtTest.exe
CPack Verbose: fixup_bundle
CPack Verbose: app='C:/Repository/Git/TestProject/build/_CPack_Packages/win32/NSIS/QtTest-0.1.1-win32/bin/QtTest.exe'
CPack Verbose: libs=''
CPack Verbose: dirs='C:/Qt/2010.05/qt/lib'
CPack Verbose: warning: *NOT* handled - directory/file does not exist...
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 Verbose: fixup_bundle: done
CPack Error: Error when generating package: QtTest
Von: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] Im Auftrag von clinton at elemtech.com
Gesendet: Freitag, 20. Mai 2011 21:46
An: cmake at cmake.org
Betreff: Re: [CMake] BundleUtilities with MinGW under Windows
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/e02d05c2/attachment.htm>
More information about the CMake
mailing list