<div dir="ltr"><div><div><div><div><div><div>Hello<br><br></div>Is this plugin part of a bigger cmake project ?<br><br></div>In any case, look like your should replace <br><br>IF (ParaView_SOURCE_DIR)<br>  INCLUDE_DIRECTORIES(${VTK_INCLUDE_DIRS})<br>endif()<br><br><br></div>by<br><br></div>find_package(ParaView REQUIRED)<br>include(${PARAVIEW_USE_FILE})<br><br></div>You can find some very good example in paraview/Examples/Plugins/<br><br></div>Best regards,<br><div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
<br><div class="gmail_quote">On Sat, Mar 24, 2018 at 9:03 PM, Michal Wozniak <span dir="ltr"><<a href="mailto:michal.wozniak@caboma.com" target="_blank">michal.wozniak@caboma.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_-513486170837314770divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi, </p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I currently I am trying to build a custom plugin that uses ITK on a Debian machine.  </p>
<p style="margin-top:0;margin-bottom:0"><span style="font-size:12pt">During the build I received this</span> error : <span style="box-sizing:border-box;font-weight:700;color:rgb(51,51,51);font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px"></span></p>
<pre class="m_-513486170837314770compiler-output m_-513486170837314770ng-binding" style="box-sizing:border-box;overflow-x:scroll;overflow-y:auto;font-family:"Courier New",Consolas,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;padding:9.5px;margin-top:0px;margin-bottom:10px;line-height:1.42857;word-break:break-all;word-wrap:break-word;background-color:rgb(245,245,245);border:1px inset rgb(204,204,204);border-radius:4px;max-height:350px">ItkTest_Plugin.h:49:10: fatal error: 'vtkPVPlugin.h' file not found</pre>
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0">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? </p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">thank you</p><span class="HOEnZb"><font color="#888888">
<p style="margin-top:0;margin-bottom:0">Michal</p>
</font></span></div>
</div>

<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a><br>
<br></blockquote></div><br></div>