[Paraview-developers] ITK Plugin in paraview - Error

Mathieu Westphal mathieu.westphal at kitware.com
Sun Mar 25 21:52:55 EDT 2018


Hello

Is this plugin part of a bigger cmake project ?

In any case, look like your should replace

IF (ParaView_SOURCE_DIR)
  INCLUDE_DIRECTORIES(${VTK_INCLUDE_DIRS})
endif()


by

find_package(ParaView REQUIRED)
include(${PARAVIEW_USE_FILE})

You can find some very good example in paraview/Examples/Plugins/

Best regards,


Mathieu Westphal

On Sat, Mar 24, 2018 at 9:03 PM, Michal Wozniak <michal.wozniak at caboma.com>
wrote:

> Hi,
>
>
> I currently I am trying to build a custom plugin that uses ITK on a
> Debian machine.
>
> During the build I received this error :
>
> ItkTest_Plugin.h:49:10: fatal error: 'vtkPVPlugin.h' file not found
>
>
> That same plugin is being built successfully on a window machine.  I have
> joined my plugin CMakeList file to this email.  Is there something
> specific to add in a Linux build?
>
>
> thank you
>
> Michal
>
> _______________________________________________
> 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:
> https://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview-developers/attachments/20180326/8e210f98/attachment.html>


More information about the Paraview-developers mailing list