Skip to content

Commit

Permalink
Fix bug 427
Browse files Browse the repository at this point in the history
Depending on the user installation, the compiled library will have missing symbols. e.g. Manjaro/Linux, VTK-7.1:

ImportError: /home/user/gdcm-2.6.8/build/bin/libvtkgdcm.so.2.6: undefined symbol: _Z40vtkFiltersParallelDIY2_AutoInit_Destructv

It can even crash when trying to execute from libvtkgdcmPython import *
  • Loading branch information
Jose Luis Cercós Pita authored and malaterre committed Jun 29, 2017
1 parent 60e08af commit 32f3935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Utilities/VTK/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ else()
vtkRenderingCore
vtkRenderingFreeType
vtkRenderingFreeTypeOpenGL
vtkFiltersParallelDIY2
)
if(("${VTK_MAJOR_VERSION}" EQUAL 6) OR ("${VTK_RENDERING_BACKEND}" STREQUAL "OpenGL"))
list(APPEND vtkgdcm_COND_LIBS vtkRenderingOpenGL)
Expand Down

0 comments on commit 32f3935

Please sign in to comment.