[Paraview-developers] Custom paraview plugin linker issue (missing shared library)

Maxim Torgonskiy kriolog at gmail.com
Wed Mar 8 17:55:25 EST 2017


Hello,

I'm trying to compile on Debian the code of a custom paraview plugin
which can be compiled on Windows. The filter also depends on ITK and I
tried to copy all the custom Paraview/ITK build cmake parameters from
Windows to Linux.

The error is following:
Linking CXX shared library libitkImageRegistrationMethodBSplineFilter.so
/usr/bin/ld: cannot find -lvtkPVServerManagerApplicationCS
collect2: error: ld returned 1 exit status
CMakeFiles/itkImageRegistrationMethodBSplineFilter.dir/build.make:408:
recipe for target 'libitkImageRegistrationMethodBSplineFilter.so'
failed
make[2]: *** [libitkImageRegistrationMethodBSplineFilter.so] Error 1
CMakeFiles/Makefile2:67: recipe for target
'CMakeFiles/itkImageRegistrationMethodBSplineFilter.dir/all' failed
make[1]: *** [CMakeFiles/itkImageRegistrationMethodBSplineFilter.dir/all]
Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2Linking CXX shared libr

I haven't found any shared (.so) library
vtkPVServerManagerApplicationCS into my paraview binaries, only a
static one (.a).

Regards,
Maxim


More information about the Paraview-developers mailing list