View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013652ParaView(No Category)public2012-11-13 13:302013-01-10 20:28
ReporterCory Quammen 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version3.98.0 
Summary0013652: External plugin linking error involving vtkRenderingMatplotlib in v3.98-RC2
DescriptionWhen compiling a ParaView plugin outside the ParaView build, I get a linker error:

Undefined symbols for architecture x86_64:
  "vtkRenderingMatplotlib_AutoInit_Construct()", referenced from:
      vtkRenderingFreeType_AutoInit::vtkRenderingFreeType_AutoInit()in BinningFilter_Plugin.cxx.o
      vtkRenderingFreeType_AutoInit::vtkRenderingFreeType_AutoInit()in moc_BinningFilter_Plugin.cxx.o
  "vtkRenderingMatplotlib_AutoInit_Destruct()", referenced from:
      vtkRenderingFreeType_AutoInit::~vtkRenderingFreeType_AutoInit()in BinningFilter_Plugin.cxx.o
      vtkRenderingFreeType_AutoInit::~vtkRenderingFreeType_AutoInit()in moc_BinningFilter_Plugin.cxx.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [bin/libBinningFilter.dylib] Error 1
make[1]: *** [Plugins/BinningFilter/CMakeFiles/BinningFilter.dir/all] Error 2
make: *** [all] Error 2

This linker error started with ParaView commit c369423b81ab182e7af26ed6dec90458ada9b77b and does not occur with v3.98-RC1.
TagsNo tags attached.
ProjectTBD
Topic Name
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0029719)
Cory Quammen (developer)
2012-11-14 16:50

I dug into this a bit in commit dca265f507f6306d4ae487cfe8597a62f1f87ecf.

In ParaView/CMake/VTKModules.cmake, vtkRenderingMatplotlib is added to _vtk_modules. The variable PARAVIEW_DEFAULT_VTK_MODULES is then set to the value of _vtk_modules.

In ParaView/ParaViewCore/ServerManager/SMApplication/module.cmake, PARAVIEW_DEFAULT_VTK_MODULES is listed under COMPILE_DEPENDS and not DEPENDS. As a result, vtkRenderingMatplotlib is never added to the dependencies of the vtkPVServerManagerApplication module (nor any other module in ParaView). If we could get that dependency added to vtkPVServerManagerApplication or one of the modules it depends on, then the linker error should be fixed.
(0029720)
Cory Quammen (developer)
2012-11-15 09:42

I pushed a candidate patch that fixes the problem to gerrit:

http://review.source.kitware.com/#/c/8542/ [^]
(0029786)
Utkarsh Ayachit (administrator)
2012-11-24 09:26

This has been fixed in RC3.
(0030069)
Alan Scott (manager)
2013-01-10 20:28

Trusting that Utkarsh tested correctly. Closing.

 Issue History
Date Modified Username Field Change
2012-11-13 13:30 Cory Quammen New Issue
2012-11-14 15:01 Sebastien Jourdain Assigned To => David C. Lonie
2012-11-14 16:50 Cory Quammen Note Added: 0029719
2012-11-15 09:42 Cory Quammen Note Added: 0029720
2012-11-24 09:26 Utkarsh Ayachit Note Added: 0029786
2012-11-24 09:26 Utkarsh Ayachit Status backlog => gatekeeper review
2012-11-24 09:26 Utkarsh Ayachit Fixed in Version => 3.98.0
2012-11-24 09:26 Utkarsh Ayachit Resolution open => fixed
2012-11-24 09:26 Utkarsh Ayachit Assigned To David C. Lonie => Utkarsh Ayachit
2012-11-24 09:27 Utkarsh Ayachit Status gatekeeper review => customer review
2013-01-10 20:28 Alan Scott Note Added: 0030069
2013-01-10 20:28 Alan Scott Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team