[Paraview-developers] Custom paraview plugin linker issue (missing shared library)
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Tue Mar 14 10:35:51 EDT 2017
Maxim,
Something is odd. Plugins don't generally need to link with
vtkPVServerManagerApplicationCS. Are any other plugins e.g. the ones
included in ParaView itself, building correctly for you?
On Wed, Mar 8, 2017 at 5:55 PM, Maxim Torgonskiy <kriolog at gmail.com> wrote:
> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
More information about the Paraview-developers
mailing list