<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" 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">It's a custom plugin built inside ParaView's plugin folder. </p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><span style="font-size: 12pt;">I moved the "</span><span style="font-size: 12pt;">IF (ParaView_SOURCE_DIR) ... include
</span>vtk<span style="font-size: 12pt;">..." part before the find_package ITK and it stops causing the problem. It's now building on Linux! </span><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">thanks!</span></p>
<p style="margin-top:0;margin-bottom:0"><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">Michal</span></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><span style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 15px;"></span></p>
<p style="margin-top:0;margin-bottom:0"><span style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 15px;"><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span style="color: rgb(33, 33, 33); font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif, serif, EmojiFont; font-size: 15px;"><br>
</span></p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Mathieu Westphal <mathieu.westphal@kitware.com><br>
<b>Sent:</b> Sunday, March 25, 2018 9:52 PM<br>
<b>To:</b> Michal Wozniak<br>
<b>Cc:</b> paraview-developers@paraview.org<br>
<b>Subject:</b> Re: [Paraview-developers] ITK Plugin in paraview - Error</font>
<div> </div>
</div>
<div>
<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="x_gmail_extra"><br clear="all">
<div>
<div class="x_gmail_signature">
<div dir="ltr">Mathieu Westphal<br>
</div>
</div>
</div>
<br>
<div class="x_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" id="LPlnk439589" previewremoved="true">michal.wozniak@caboma.com</a>></span> wrote:<br>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="x_m_-513486170837314770divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<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="font-weight:700; color:rgb(51,51,51); font-family:"Helvetica Neue",Helvetica,Arial,sans-serif; font-size:14px"></span></p>
<pre class="x_m_-513486170837314770compiler-output x_m_-513486170837314770ng-binding" style="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="x_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" id="LPlnk202689" previewremoved="true">
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" id="LPlnk949335" previewremoved="true">
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" id="LPlnk738538" previewremoved="true">
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" id="LPlnk219137" previewremoved="true">https://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>