<div dir="ltr">Looks like &quot;inserter&quot; is declared in the iterator header file, which is not explicitly included in that source file. Must be accidentally/indirectly included on non-Borland systems.<br><br><div>Can you add this at the top of vtkConvertSelection.cxx...</div>
<div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Monaco"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Monaco">#include &lt;vtkstd/iterator&gt;</p><div><span class="Apple-style-span" style="font-family: arial; ">...and tell us if that fixes the problem?</span><br>
</div><p></p><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks,</div><div class="gmail_quote">David</div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">On Fri, Aug 29, 2008 at 10:26 AM, D_E <span dir="ltr">&lt;<a href="mailto:D_E@ukr.net">D_E@ukr.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I&#39;m trying to compile VTK 5.2 with Borland Turbo (BDS 2006) but I&#39;ve got error message below. I&#39;m using Cmake-2.6.1.<br>

With the same procedure VTK 5.0.4 compiles without problems.<br>
Any suggestion how to fix the problem?<br>
Thank you!<br>
<br>
<br>
[ 48%] Building CXX object Graphics/CMakeFiles/vtkGraphics.dir/vtkConvertSelection.obj<br>
Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland<br>
C:\vtk\Graphics\vtkConvertSelection.cxx:<br>
<br>
Error E2316 C:\vtk\Graphics\vtkConvertSelection.cxx 124: &#39;inserter&#39; is not a mem ber of &#39;std&#39; in function vtkConvertSelection::SelectTableFromTable(vtkTable *,vtkTable *,vtkIdTypeArray *)<br>
<br>
Error E2285 C:\vtk\Graphics\vtkConvertSelection.cxx 124: Could not find a match for &#39;std::set_intersection&lt;_InIt1,_InIt2,_OutIt&gt;(std::_Tree&lt;std::_Tset_traits&lt;int,std::less&lt;int&gt;,std::allocator&lt;int&gt;,0&gt; &gt;::iterator,std::_Tree&lt;std::_Tset_traits &lt;int,std::less&lt;int&gt;,std::allocator&lt;int&gt;,0&gt; &gt;::iterator,int *,int *,undefined)&#39; in function vtkConvertSelection::SelectTableFromTable(vtkTable *,vtkTable *,vtkId<br>

TypeArray *)<br>
<br>
*** 2 errors in Compile ***<br>
<br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div></div>