SBU-BMI / SlicerPathology

3D Slicer extension for Pathology segmentation tools
http://bmi.stonybrookmedicine.edu
Other
5 stars 8 forks source link

Mac: Shared lib load error on startup #41

Closed fedorov closed 8 years ago

fedorov commented 8 years ago
  Error(s):
    The file '/Applications/Slicer-4.5.0-1/Slicer.app/Contents/Extensions-25042/SlicerPathology/lib/Slicer-4.5/qt-loadable-modules/libqSlicerQuickTCGAModule.dylib' is not a valid Qt plugin.
  Error(s):
    The file '/Applications/Slicer-4.5.0-1/Slicer.app/Contents/Extensions-25042/SlicerPathology/lib/Slicer-4.5/qt-loadable-modules/libqSlicerShortCutCoreModule.dylib' is not a valid Qt plugin.
  Error(s):
    The file '/Applications/Slicer-4.5.0-1/Slicer.app/Contents/Extensions-25042/SlicerOpenCV/lib/Slicer-4.5/qt-loadable-modules/libqSlicerOpenCVModule.dylib' is not a valid Qt plugin.
fedorov commented 8 years ago

While using a locally built version, there is the following error (or warning?):

objc[61592]: Class CVWindow is implemented in both /Users/fedorov/local/builds/SlicerPathology/lib/Slicer-4.5/qt-loadable-modules/libvtkSlicerQuickTCGAModuleLogic.dylib and /Users/fedorov/local/builds/SlicerPathology/lib/Slicer-4.5/qt-loadable-modules/libvtkSlicerShortCutCoreModuleLogic.dylib. One of the two will be used. Which one is undefined.
objc[61592]: Class CVView is implemented in both /Users/fedorov/local/builds/SlicerPathology/lib/Slicer-4.5/qt-loadable-modules/libvtkSlicerQuickTCGAModuleLogic.dylib and /Users/fedorov/local/builds/SlicerPathology/lib/Slicer-4.5/qt-loadable-modules/libvtkSlicerShortCutCoreModuleLogic.dylib. One of the two will be used. Which one is undefined.
objc[61592]: Class CVSlider is implemented in both /Users/fedorov/local/builds/SlicerPathology/lib/Slicer-4.5/qt-loadable-modules/libvtkSlicerQuickTCGAModuleLogic.dylib and /Users/fedorov/local/builds/SlicerPathology/lib/Slicer-4.5/qt-loadable-modules/libvtkSlicerShortCutCoreModuleLogic.dylib. One of the two will be used. Which one is undefined.
fedorov commented 8 years ago

No similar errors while running Slicer/SlicerPathology binary on Linux.

naucoin commented 8 years ago

@fedorov fyi: the warnings about CVWindow, CVView and CVSlider are due to repeated code in SlicerPathology, I think they're covered in the code cleanup issue.

fedorov commented 8 years ago

Same issue being investigated here: https://github.com/SBU-BMI/SlicerOpenCV/issues/30

fedorov commented 8 years ago

resolved long time ago