Having trouble packaging a slicer build on my mac OSX high sierra machine. I installed Qt 5.9.2 using the prebuilt binary installed using the Qt open-source download from the Qt website. I successfully built the latest commit of slicer and slicer works great. Now I want to package this build into a dmg install file, but I am having some trouble. The build target steps work fine. Then when it goes to the cpack steps it starts to complain repeatedly about finding Qt using the rpath. Here is an example output:
warning: target ‘@rpath/Frameworks/QtCore.framework/Versions/5/QtCore’ is not absolute
warning: target ‘’@rpath/Frameworks/QtCore.framework/Versions/5/QtCore’ does not exist
’@rpath/Frameworks/QtCore.framework/Versions/5/QtCore’: No such file or directory
Since these are just warnings cpack continues, but then at the end the pack fails and says error converting to UDCO dmg for adding SLA. hdiutil: convert failed - Resource temporarily unavailable. Anyone else experience these issues and know how to remedy it?