<div dir="ltr">Looks like "inserter" 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 <vtkstd/iterator></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"><<a href="mailto:D_E@ukr.net">D_E@ukr.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm trying to compile VTK 5.2 with Borland Turbo (BDS 2006) but I've got error message below. I'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: 'inserter' is not a mem ber of 'std' in function vtkConvertSelection::SelectTableFromTable(vtkTable *,vtkTable *,vtkIdTypeArray *)<br>
<br>
Error E2285 C:\vtk\Graphics\vtkConvertSelection.cxx 124: Could not find a match for 'std::set_intersection<_InIt1,_InIt2,_OutIt>(std::_Tree<std::_Tset_traits<int,std::less<int>,std::allocator<int>,0> >::iterator,std::_Tree<std::_Tset_traits <int,std::less<int>,std::allocator<int>,0> >::iterator,int *,int *,undefined)' 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>