View Issue Details

IDProjectCategoryView StatusLast Update
0002627Slicer4Core: Building (CMake, Superbuild)public2014-03-06 04:51
Reporterfinetjul Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionfixed 
Product VersionSlicer 4.1.1 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.2.0 
Summary0002627: Link module python library with dependent module python libraries
Description

Module A depends on module B.
In Module A MRML cmakelists, I add vtkSlicerBModuleMRML as TARGET_LIBRARIES that is passed to SlicerMacroBuildModuleMRML.

It compiles fine the Module A MRML library.
However, when it comes to compile Module A MRML Python library, it complains that symbols from Module B MRML Python are not found.
Indeed, vtkSlicerBModuleMRMLPythonD is not linked.

Additional Information

So far, we have2 solutions:

  • add a mechanism to pass a Module name "B" to SlicerMacroBuildModuleMRML, automatically it links the Module B MRML python to the Module A MRML Python lib.
  • any target_Link_library passed to SlicerMacroBuildModuleMRML is suffixed with PythonD.

temporary solution I'm using:
I add vtkSlicerBModuleMRMLPythonD as a dependent of Module A MRML.

TagsNo tags attached.

Activities

jcfr

jcfr

2012-10-08 11:00

administrator   ~0006436

Pushed topic "2627-link-module-python-lib-with-dependency"

See https://github.com/jcfr/Slicer/tree/2627-link-module-python-lib-with-dependency

Note that I haven't tested it

finetjul

finetjul

2012-10-08 11:09

administrator   ~0006437

it works for me.

jcfr

jcfr

2012-10-08 13:03

administrator   ~0006438

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

jcfr

jcfr

2014-03-06 04:50

administrator   ~0010731

Closing resolved issues that have not been updated in more than 3 months

Issue History

Date Modified Username Field Change
2012-10-08 10:48 finetjul New Issue
2012-10-08 10:48 finetjul Status new => assigned
2012-10-08 10:48 finetjul Assigned To => jcfr
2012-10-08 11:00 jcfr Note Added: 0006436
2012-10-08 11:00 jcfr Status assigned => feedback
2012-10-08 11:09 finetjul Note Added: 0006437
2012-10-08 13:03 jcfr Note Added: 0006438
2012-10-08 13:03 jcfr Status feedback => resolved
2012-10-08 13:03 jcfr Fixed in Version => Slicer 4.2.0 - coming release
2012-10-08 13:03 jcfr Resolution open => fixed
2014-03-06 04:50 jcfr Note Added: 0010731
2014-03-06 04:51 jcfr Status resolved => closed