[Smtk-developers] Cannot package qt5 + CMB on OS X
TJ Corona
tj.corona at kitware.com
Wed Aug 9 16:14:31 EDT 2017
Perhaps a larger trace would be helpful:
319: WARNING: dependency from /Users/tjcorona/Development/Software/cmb/superbuild_scratch/build/install/Applications/ModelBuilder.app/Contents/MacOS/ModelBuilder to @rpath/QtConcurrent.framework/Versions/5/QtConcurrent requires a search path
319: CMake Error at /Users/tjcorona/Development/Software/cmb/superbuild_scratch/build/cpack/modelbuilder/DragNDrop/build/cmake_install.cmake:43 (message):
319: Failed to install ModelBuilder.app:
319:
319: Traceback (most recent call last):
319:
319: File "/Users/tjcorona/Development/Software/cmb/superbuild_scratch/source/superbuild/cmake/scripts/fixup_bundle.apple.py", line 630, in <module>
319: main(sys.argv[1:])
319: File "/Users/tjcorona/Development/Software/cmb/superbuild_scratch/source/superbuild/cmake/scripts/fixup_bundle.apple.py", line 616, in main
319: _install_binary(main_exe, is_excluded, bundle_dest, installed, manifest, dry_run=opts.dry_run)
319: File "/Users/tjcorona/Development/Software/cmb/superbuild_scratch/source/superbuild/cmake/scripts/fixup_bundle.apple.py", line 491, in _install_binary
319: deps = binary.dependencies.values()
319: File "/Users/tjcorona/Development/Software/cmb/superbuild_scratch/source/superbuild/cmake/scripts/fixup_bundle.apple.py", line 225, in dependencies
319: deplib = Library.create_from_reference(dep, self)
319: File "/Users/tjcorona/Development/Software/cmb/superbuild_scratch/source/superbuild/cmake/scripts/fixup_bundle.apple.py", line 262, in create_from_reference
319: raise RuntimeError('Unable to find the %s library from %s' % (ref, loader.path))
319:
319: RuntimeError: Unable to find the
319: @rpath/QtConcurrent.framework/Versions/5/QtConcurrent library from
319: /Users/tjcorona/Development/Software/cmb/superbuild_scratch/build/install/Applications/ModelBuilder.app/Contents/MacOS/ModelBuilder
319:
319:
319:
319:
319: CPack Error: Error when generating package: CMB
319: CMake Error at /Users/tjcorona/Development/Software/cmb/superbuild_scratch/source/superbuild/cmake/scripts/package_test.cmake:21 (message):
319: CPack failed with exit code 1
319:
319:
Last week I ran into something similar with the Capstone session:
>> dependency from /Volumes/Samsung_250_EC/cmb-superbuild/build/install/lib/libsmtkCapstoneSession_Plugin.dylib to @rpath/QtWidgets.framework/Versions/5/QtWidgets requires a search path
>> 316: searching for @rpath/QtWidgets.framework/Versions/5/QtWidgets
>
> This means that the capstone session library is using @rpath, but not
> setting an rpath. Either don't use it or add an rpath.
>
> —Ben
That made more sense, though, because the Capsone session does explicitly use rpaths. I thought that ModelBuilder shouldn’t use rpaths though.
Sincerely,
T.J.
Thomas J. Corona, Ph.D.
Kitware, Inc.
Senior R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4443
> On Aug 9, 2017, at 3:59 PM, TJ Corona <tj.corona at kitware.com> wrote:
>
> Hi all,
>
> I ran into this issue last week, and figured that I had borked my version of CMB. I then ran into this issue yesterday, and figured I had a bad Qt5. I have now run this with vanilla CMB + binary installed Qt5 and I get the same error when trying to package:
>
> 319: RuntimeError: Unable to find the
> 319: @rpath/QtConcurrent.framework/Versions/5/QtConcurrent library from
> 319: /Users/tjcorona/Development/Software/cmb/superbuild_scratch/build/install/Applications/ModelBuilder.app/Contents/MacOS/ModelBuilder
>
> Is anyone else hitting this issue? Does anyone know a workaround?
>
> Sincerely,
> T.J.
>
> P.S. In order to get CMB to build, I had to comment out vtkTerrainExtraction stuff because it cannot find rtvl correctly. Has anyone seen this too?
>
> Thomas J. Corona, Ph.D.
> Kitware, Inc.
> Senior R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4443
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/smtk-developers/attachments/20170809/50d3b615/attachment.html>
More information about the Smtk-developers
mailing list