MantisBT - ParaView
View Issue Details
0014869ParaView(No Category)public2014-07-16 15:552016-08-12 09:59
Matthew Woehlke 
Kitware Robot 
normalminorhave not tried
closedmoved 
 
 
TBD
incorrect functionality
0014869: paraview cannot load plugin
Well designed build systems use -fvisibility=hidden to build (where that is appropriate, e.g. gcc, clang). Unfortunately, vtkPVPlugin.h does not correctly define its ABI export symbol (C_EXPORT), which causes ParaView to be unable to load any plugins build by a well-behaved build system, unless the build adds -fvisibility=default to the COMPILE_FLAGS of ${PLUGIN_BINARY_DIR}/${PLUGINNAME}_Plugin.cxx.

C_EXPORT should be defined to include '__attribute__ ((visibility("default")))' (see e.g. generate_export_header). Since add_paraview_plugin is already calling this, perhaps the easiest fix is to remove (or at least make condition on not being already defined) the definition of C_EXPORT from vtkPVPlugin.h and instead add to the generated ${PLUGINNAME}_Plugin.h to define this to the plugin's ABI export symbol prior to including vtkPVPlugin.h.
No tags attached.
Issue History
2014-07-16 15:55Matthew WoehlkeNew Issue
2016-08-12 09:59Kitware RobotNote Added: 0038601
2016-08-12 09:59Kitware RobotStatusbacklog => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved
2016-08-12 09:59Kitware RobotAssigned To => Kitware Robot

Notes
(0038601)
Kitware Robot   
2016-08-12 09:59   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.