<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I am trying run the QtTest-Package-Example from: <a href="http://www.vtk.org/Wiki/BundleUtilitiesExample">http://www.vtk.org/Wiki/BundleUtilitiesExample</a> and I am getting some errors on install. </div><div><br></div><div>I am running CMake 2.8, with Qt 4.6.2 Cocoa universal, on OSX 10.6.2. </div><div><br></div><div>During the fixup_bundle phase I am getting some error message and some undesired behavior. It appears the qt plugin libraries are problematic. Here is snipits of the output:</div><div><br></div><div><div>- Install configuration: ""</div><div>-- Installing: ~/Downloads/QtTest/./install/./QtTest.app</div><div>-- Installing: ~/Downloads/QtTest/./install/./QtTest.app/Contents</div><div>-- Installing: ~/Downloads/QtTest/./install/./QtTest.app/Contents/Info.plist</div><div>-- Installing: ~/Downloads/QtTest/./install/./QtTest.app/Contents/MacOS</div><div>-- Installing: ~/Downloads/QtTest/./install/./QtTest.app/Contents/MacOS/QtTest</div><div>-- Installing: ~/Downloads/QtTest/./install/./QtTest.app/Contents/Resources</div><div>-- Installing: ~/Downloads/QtTest/./install/./QtTest.app/Contents/Resources/QtTest.icns</div><div>-- Installing: ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats</div><div>-- Installing: ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqgif.dylib</div><div>-- Installing: ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqico.dylib</div><div>-- Installing: ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqjpeg.dylib</div><div>-- Installing: ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqmng.dylib</div><div>-- Installing: ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqsvg.dylib</div><div>-- Installing: ~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqtiff.dylib</div><div>-- fixup_bundle</div><div>-- app='./install/QtTest.app'</div><div>-- libs='~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqgif.dylib;~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqico.dylib;~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqjpeg.dylib;~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqmng.dylib;~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqsvg.dylib;~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqtiff.dylib'</div><div>-- dirs=''</div><div>-- fixup_bundle: preparing...</div><div>-- </div><div>warning: cannot resolve item 'libqgif.dylib'</div><div><br></div><div> possible problems:</div><div> need more directories?</div><div> need to use InstallRequiredSystemLibraries?</div><div> run in install tree instead of build tree?</div><div><br></div><div>-- warning: gp_resolved_file_type non-absolute file 'libqgif.dylib' returning type 'other' -- possibly incorrect</div><div>-- </div><div>warning: cannot resolve item 'libqgif.dylib'</div><div><br></div><div> possible problems:</div><div> need more directories?</div><div> need to use InstallRequiredSystemLibraries?</div><div> run in install tree instead of build tree?</div><div><br></div><div>warning: target 'libqgif.dylib' is not absolute...</div><div>warning: target 'libqgif.dylib' does not exist...</div><div>/usr/bin/otool: can't open file: libqgif.dylib (No such file or directory)</div><div>-- </div><div><br></div><div>(repeated for each other plugin)</div><div><br></div><div>Then it copies things again:</div><div><br></div><div><div>- fixup_bundle: copying...</div><div>-- 1/22: copying '~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqgif.dylib'</div><div>-- 2/22: copying '/Library/Frameworks/QtCore.framework/Versions/4/QtCore'</div><div>-- 3/22: copying '/Library/Frameworks/QtGui.framework/Versions/4/QtGui'</div><div>-- 4/22: copying '~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqico.dylib'</div><div>-- 5/22: copying '~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqjpeg.dylib'</div><div>-- 6/22: copying '~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqmng.dylib'</div><div>-- 7/22: copying '~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqsvg.dylib'</div><div>-- 8/22: copying '/Library/Frameworks/QtSvg.framework/Versions/4/QtSvg'</div><div>-- 9/22: copying '/Library/Frameworks/QtXml.framework/Versions/4/QtXml'</div><div>-- 10/22: copying '~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/plugins/imageformats/libqtiff.dylib'</div><div>-- 11/22: *NO~T* copying '~/Downloads/QtTest/./install/QtTest.app/Contents/MacOS/QtTest'</div><div>-- fixup_bundle: fixing...</div><div><div>-- 12/22: fixing up '~/Downloads/QtTest/install/QtTest.app/Contents/MacOS/libqgif.dylib'</div><div>-- 13/22: fixing up '~/Downloads/QtTest/install/QtTest.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore'</div><div>-- 14/22: fixing up '~/Downloads/QtTest/install/QtTest.app/Contents/Frameworks/QtGui.framework/Versions/4/QtGui'</div><div>-- 15/22: fixing up '~/Downloads/QtTest/install/QtTest.app/Contents/MacOS/libqico.dylib'</div><div>-- 16/22: fixing up '~/Downloads/QtTest/install/QtTest.app/Contents/MacOS/libqjpeg.dylib'</div><div><br></div></div><div> </div></div><div>And this may be useful too:</div><div><div>$ otool -L /Developer/Applications/Qt/plugins/imageformats/libqgif.dylib</div><div>/Developer/Applications/Qt/plugins/imageformats/libqgif.dylib:</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libqgif.dylib (compatibility version 0.0.0, current version 0.0.0)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>QtGui.framework/Versions/4/QtGui (compatibility version 4.6.0, current version 4.6.2)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>QtCore.framework/Versions/4/QtCore (compatibility version 4.6.0, current version 4.6.2)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 103.0.0)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.0)</div></div></div><div><br></div><div><br></div><div>Any thoughts or suggestions, before I dive too deep into GetPrerequisites.cmake?</div><div><br></div><div>Thanks,</div><div>Brad</div><div><br></div><div><div>
<span class="Apple-style-span" style="font-size: 12px; "><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">========================================================</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Bradley Lowekamp<span class="Apple-converted-space"> </span><span class="Apple-converted-space"> </span></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font class="Apple-style-span" face="Arial"><span class="Apple-style-span" style="font-family: Arial; "><span class="Apple-style-span" style="font-family: Arial; ">Lockheed Martin </span></span></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Contractor for</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Office of High Performance Computing and Communications</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">National Library of Medicine<span class="Apple-converted-space"> </span></font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a></font></p><br class="Apple-interchange-newline"></span>
</div>
<br></div></body></html>