View Issue Details

IDProjectCategoryView StatusLast Update
0003973Slicer4Core: Packagingpublic2018-03-02 11:07
Reporterfbudin Assigned Tojcfr  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.4.0 
Target VersionFixed in VersionSlicer 4.5.0-1 
Summary0003973: libvtkViewsQt-6.2.1.dylib not packaged
Description

libvtkViewsQt-6.2.1.dylib is not packaged in Slicer on MacOS. Certain extensions that use it compile fine but do not work once downloaded and installed in the packaged version of Slicer. This problem is very similar to the one that has already been corrected reported here:
http://na-mic.org/Mantis/view.php?id=3872

TagsNo tags attached.

Activities

fbudin

fbudin

2015-03-05 12:35

developer   ~0012968

Last edited: 2015-03-05 12:35

A fix is available here:
https://github.com/fbudin69500/Slicer/tree/mantis-0003973-libvtkViewsQt-6.2.1-not-packaged and a pull-request has been made here:
https://github.com/Slicer/Slicer/pull/242

jcfr

jcfr

2015-03-05 12:59

administrator   ~0012969

Last edited: 2015-03-05 12:59

See https://github.com/Slicer/Slicer/pull/242#issuecomment-77467553

// -------------
Thanks for your patch.

As indicated in commit r23766 reverting r23755 , I wonder if a similar approach could be applied.

I would like to check if your extension requires this component explicitly or if there is find_package(VTK ...) in your extension that doesn't account for the VTK component provided by Slicer.

If you run WhatModulesVTK.py in your extension source dir ... is vtkViewsQt listed ?

Running command like this should give the answer:

/path/to/VTKv6/Utilities/Maintenance/WhatModulesITK.py /path/to/VTKv6 /path/to/extension-src-dir

// -------------

jcfr

jcfr

2015-11-02 14:31

administrator   ~0013509

Resolving this issue since as of r24684, the library is packaged:

$ cd /Users/kitware/Dashboards/Nightly/Slicer-0-build/Slicer-build/_CPack_Packages/macosx-amd64/DragNDrop/Slicer-4.4.0-2015-10-30-macosx-amd64/Slicer.app/Contents>
$ find . | grep libvtkViewsQt
./lib/Slicer-4.4/libvtkViewsQt-6.3.1.dylib

jcfr

jcfr

2015-11-02 14:33

administrator   ~0013510

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

Related Changesets

Import 2017-06-07 23:51:09: master 139c902a

2015-03-06 20:09:15

jcfr

Details Diff
BUG: Ensure libvtkViewsQt is packaged on MacOSX. Fixes 0003973

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

See commit r23755 for more details on why this problem arises. This previous commit fixes the same issue for another VTK library.

From: Francois Budin <fbudin@unc.edu>

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

Issue History

Date Modified Username Field Change
2015-03-04 09:31 fbudin New Issue
2015-03-04 09:31 fbudin Status new => assigned
2015-03-04 09:31 fbudin Assigned To => jcfr
2015-03-05 12:35 fbudin Note Added: 0012968
2015-03-05 12:35 fbudin Note Edited: 0012968
2015-03-05 12:59 jcfr Note Added: 0012969
2015-03-05 12:59 jcfr Status assigned => feedback
2015-03-05 12:59 jcfr Note Edited: 0012969
2015-11-02 14:31 jcfr Note Added: 0013509
2015-11-02 14:31 jcfr Status feedback => resolved
2015-11-02 14:31 jcfr Fixed in Version => Slicer 4.5.0-1
2015-11-02 14:31 jcfr Resolution open => fixed
2015-11-02 14:33 jcfr Note Added: 0013510
2017-06-10 08:51 jcfr Changeset attached => Slicer master 139c902a
2018-03-02 11:07 jcfr Status resolved => closed