MantisBT - ParaView | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014869 | ParaView | (No Category) | public | 2014-07-16 15:55 | 2016-08-12 09:59 |
Reporter | Matthew Woehlke | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | moved | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Project | TBD | ||||
Topic Name | |||||
Type | incorrect functionality | ||||
Summary | 0014869: paraview cannot load plugin | ||||
Description | 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. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-07-16 15:55 | Matthew Woehlke | New Issue | |||
2016-08-12 09:59 | Kitware Robot | Note Added: 0038601 | |||
2016-08-12 09:59 | Kitware Robot | Status | backlog => closed | ||
2016-08-12 09:59 | Kitware Robot | Resolution | open => moved | ||
2016-08-12 09:59 | Kitware Robot | Assigned To | => Kitware Robot |
Notes | |||||
|
|||||
|
|