Can generate a dynamic link library libvtkWrappingTools.so?
/usr/bin/ld: /usr/lib/libvtkWrappingTools-6.2.a(vtkParse.tab.c.o): relocation R_X86_64_32S against '.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libvtkWrappingTools-6.2.a(vtkParse.tab.c.o): error adding symbols: Bad value
I get this error when I try to Generate a dynamic link library, and it looks like the vtkWrappingTools is a static link library so... also I try to run Cmake with -fPIC but the error still occurs. I want to know if I can compile the vtk and generate a libvtkWrappingTools.so, or the other way to fix this problem? I see the notes in VTK/Wrapping/Tools/CMakeLists.txt, line 49, it must be statically linked...