View Issue Details

IDProjectCategoryView StatusLast Update
0003872Slicer4Core: Packagingpublic2017-06-10 08:51
Reporterpinter Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.4.0Fixed in VersionSlicer 4.4.0 
Summary0003872: Fix MacOSX packaging including *OpenGL libraries
Description

More details: https://www.assembla.com/spaces/slicerrt/tickets/653#/activity/ticket

Libraries like "libvtkGUISupportQtOpenGL" are not packaged.

TagsNo tags attached.

Activities

pinter

pinter

2014-10-28 04:57

developer   ~0012649

What is the status of this issue? Can I help in any way? Mac users have been waiting for some extensions for more than six weeks, and we're going to lose them. Thanks!

jcfr

jcfr

2014-10-28 15:24

administrator   ~0012650

Fixed in r23755
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=23755

pinter

pinter

2014-10-29 06:34

developer   ~0012657

I tried today's nightly (23755) on Mac and I unfortunately the issue is still there. I got the following in the python interactor:

Python 2.7.3 (default, Oct 28 2014, 23:13:04)
[GCC 4.2.1 Compatible Clang 3.1 ((tags/RELEASE_31/final))] on darwin

dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerBeamsModuleLogicPython.so, 2): Library not loaded: @rpath/lib/Slicer-
4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerBeamsModuleLogicPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerContourComparisonModuleLogicPython.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerContourComparisonModuleLogicPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerContourMorphologyModuleLogicPython.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerContourMorphologyModuleLogicPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerContoursModuleLogicPython.so, 2): Library not loaded: @rpath/lib/Slicer-
4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerContoursModuleLogicPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerDicomRtExportModuleLogicPython.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerDicomRtExportModuleLogicPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerDicomRtImportModuleLogicPython.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerDicomRtImportModuleLogicPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerDicomSroImportModuleLogicPython.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerDicomSroImportModuleLogicPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerDoseAccumulationModuleLogicPython.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerDoseAccumulationModuleLogicPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerDoseComparisonModuleLogicPython.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerDoseComparisonModuleLogicPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerDoseVolumeHistogramModuleLogicPython.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerDoseVolumeHistogramModuleLogicPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerIsodoseModuleLogicPython.so, 2): Library not loaded: @rpath/lib/Slicer-
4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerIsodoseModuleLogicPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerPlanarImageModuleLogicPython.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerPlanarImageModuleLogicPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerPlastimatchPyModuleLogicPython.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerPlastimatchPyModuleLogicPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/vtkSlicerContoursModuleMRMLPython.so, 2): Library not loaded: @rpath/lib/Slicer-
4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/vtkSlicerContoursModuleMRMLPython.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/qSlicerContoursModuleWidgetsPythonQt.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/qSlicerContoursModuleWidgetsPythonQt.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/qSlicerContoursSubjectHierarchyPluginsPythonQt.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/qSlicerContoursSubjectHierarchyPluginsPythonQt.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/qSlicerDicomRtImportSubjectHierarchyPluginsPythonQt.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/qSlicerDicomRtImportSubjectHierarchyPluginsPythonQt.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/qSlicerDoseComparisonSubjectHierarchyPluginsPythonQt.so, 2): Library not
loaded: @rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/qSlicerDoseComparisonSubjectHierarchyPluginsPythonQt.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/qSlicerDoseVolumeHistogramSubjectHierarchyPluginsPythonQt.so, 2): Library not
loaded: @rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/qSlicerDoseVolumeHistogramSubjectHierarchyPluginsPythonQt.so
Reason: image not found
dlopen(/Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-4.3/qt-
loadable-modules/qSlicerIsodoseSubjectHierarchyPluginsPythonQt.so, 2): Library not loaded:
@rpath/lib/Slicer-4.3/libvtkGUISupportQtSQL-6.2.1.dylib
Referenced from: /Applications/Slicer 20141028.app/Contents/Extensions-23755/SlicerRT/lib/Slicer-
4.3/qt-loadable-modules/qSlicerIsodoseSubjectHierarchyPluginsPythonQt.so
Reason: image not found

pinter

pinter

2014-10-29 11:43

developer   ~0012667

Jc, could you try adding also vtkGUISupportQtSQL?

jcfr

jcfr

2014-10-30 01:08

administrator   ~0012674

A different approach has been implemented.
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=23766

pinter

pinter

2014-10-30 06:29

developer   ~0012676

I tested the latest nightly with SlicerRT and it seems to be working now. All the modules are present, and the few I tried work properly.

Thanks a lot for the fix!

Related Changesets

Import 2017-06-07 23:51:09: master 17564f2a

2014-10-28 18:12:21

jcfr

Details Diff
BUG: Ensure vtkGUISupportQtOpenGL is packaged on MacOSX. Fixes 0003872

This commit add vtkGUISupportQtOpenGL to the VTK component list so that
it show up as a dependency when fixup script are used to create the MacOSX
package.

This is required because "find_package(VTK..)" is used in SlicerConfig.cmake
without specifying a list of component and the complete list of VTK libraries
is used to build extensions.

Ideally, the same list of components should also be used when calling
find_package(VTK ...) from SlicerConfig.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23755 3bd1e089-480b-0410-8dfb-8563597acbee
mod - CMakeLists.txt Diff File

Import 2017-06-07 23:51:09: master 569b732f

2014-10-30 04:50:26

jcfr

Details Diff
BUG: Use Slicer VTK components in SlicerConfig. Fixes 0003872

This commit revert r23755 and ensure extension will find only the
VTK components required by Slicer itself.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@23766 3bd1e089-480b-0410-8dfb-8563597acbee
mod - CMake/SlicerConfig.cmake.in Diff File
mod - CMake/SlicerGenerateSlicerConfig.cmake Diff File
mod - CMakeLists.txt Diff File

Issue History

Date Modified Username Field Change
2014-10-16 09:31 jcfr New Issue
2014-10-16 09:31 jcfr Status new => assigned
2014-10-16 09:31 jcfr Assigned To => jcfr
2014-10-16 09:31 jcfr Reporter jcfr => pinter
2014-10-16 09:31 jcfr Target Version => Slicer 4.4.0
2014-10-28 04:57 pinter Note Added: 0012649
2014-10-28 15:24 jcfr Note Added: 0012650
2014-10-28 15:24 jcfr Status assigned => resolved
2014-10-28 15:24 jcfr Fixed in Version => Slicer 4.4.0
2014-10-28 15:24 jcfr Resolution open => fixed
2014-10-29 06:34 pinter Note Added: 0012657
2014-10-29 06:34 pinter Status resolved => assigned
2014-10-29 11:43 pinter Note Added: 0012667
2014-10-30 01:08 jcfr Note Added: 0012674
2014-10-30 01:08 jcfr Status assigned => resolved
2014-10-30 06:29 pinter Note Added: 0012676
2014-10-30 06:29 pinter Status resolved => closed
2017-06-10 08:51 jcfr Changeset attached => Slicer master 569b732f
2017-06-10 08:51 jcfr Changeset attached => Slicer master 17564f2a