<div dir="ltr">Joachim proposition indeed fix the problem.<br><br>I've created a Merge Request with this fix, it does not seem to cause any problems during paraview or any vtk based applpication compilation, feel free to review it.<br><a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/1763">https://gitlab.kitware.com/vtk/vtk/merge_requests/1763</a><br></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 Mon, Aug 1, 2016 at 5:46 PM, Joachim Pouderoux <span dir="ltr"><<a href="mailto:joachim.pouderoux@kitware.com" target="_blank">joachim.pouderoux@kitware.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>I would propose (not tested yet) to change vtkModuleMacros.cmake:191<br><br><span style="font-family:monospace,monospace">    include_directories(${${vtk-module}_INCLUDE_DIRS})</span><br><br>by<br><br><span style="font-family:monospace,monospace">    include_directories(<b>BEFORE</b> ${${vtk-module}_INCLUDE_DIRS})<br><br></span></div><span style="font-family:arial,helvetica,sans-serif">What do you think?</span><span style="font-family:monospace,monospace"><br><br></span></div><div class="gmail_extra"><span class=""><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b>Joachim Pouderoux</b><font size="2">, <font size="1">PhD</font></font><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>Technical Expert - Scientific Computing Team</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
</div></div></div></div></div></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">2016-08-01 17:44 GMT+02:00 Joachim Pouderoux <span dir="ltr"><<a href="mailto:joachim.pouderoux@kitware.com" target="_blank">joachim.pouderoux@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>The workaround would be to add those source and bin directory using the BEFORE option of the cmake function include_directories().<br></div>However, not sure yet where it should be done and there might be a better fix.<br></div><div class="gmail_extra"><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b>Joachim Pouderoux</b><font size="2">, <font size="1">PhD</font></font><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>Technical Expert - Scientific Computing Team</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
</div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote"><div><div>2016-08-01 17:27 GMT+02:00 Mathieu Westphal <span dir="ltr"><<a href="mailto:mathieu.westphal@kitware.com" target="_blank">mathieu.westphal@kitware.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div>Hello<br><br></div>I've moved an .ui file and associated class from Components to ApplicationComponents and modified it a bit in a branch.<br><br></div>Compiling my branch from an empty directory works perfectly, but compiling it from up to date build directory would fail like this :<br><pre name="stderr">error: 'class pqSpreadSheetViewDecorator::pqInternal' has no member named 'ExportVisibleColumns'<br></pre><pre name="stderr"><font face="arial,helvetica,sans-serif">As if the ui file had not been updated. We have already tracked the problem to the fact the build/Qt/Components still contains the old ui_*.h file.<br></font></pre><pre name="stderr"><font face="arial,helvetica,sans-serif">Removing it manually fix the problem. but it shows that there may be a problem with the include order, <br>Is there any reason for the include directory of the current source and build directory for not being included before all other include directories ?<br>Is there a work around for this issue ?<br>Because in it's current state, if my branch get merged, anyone compiling master from an existing build directory will encounter the ame bug.</font></pre><span><font color="#888888"><div><div><div><div><div data-smartmail="gmail_signature"><div dir="ltr">Mathieu Westphal<br></div></div></div>
</div></div></div></font></span></div>
<br></div></div><span>_______________________________________________<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/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=Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>