<div dir="ltr">You're welcome. Since it worked, I will commit it to CVS, and make sure it gets merged into VTK-5-2 for the (hopefully weeks or months in the future) 5.2.1 patch release.<div><br></div><div><br></div><div>
David</div><div><br><br><div class="gmail_quote">On Fri, Aug 29, 2008 at 2:25 PM, 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;">
Dear David,<br>
<br>
Thank you very much for your advise - it really helped!<br>
I put the line #include <vtkstd/iterator> in vtkConvertSelection.cxx just before #include <vtkstd/algorithm> and everything compiled.<br>
<br>
Thank you once again for so quick answer!<br>
<font color="#888888"><br>
D_E.<br>
</font><div><div></div><div class="Wj3C7c"><br>
> Looks like "inserter" is declared in the iterator header file, which is not<br>
> explicitly included in that source file. Must be accidentally/indirectly<br>
> included on non-Borland systems.<br>
<br>
> Can you add this at the top of vtkConvertSelection.cxx...<br>
<br>
> #include <vtkstd/iterator><br>
> ...and tell us if that fixes the problem?<br>
<br>
<br>
> Thanks,<br>
> David<br>
<br>
<br>
> On Fri, Aug 29, 2008 at 10:26 AM, D_E <<a href="mailto:D_E@ukr.net">D_E@ukr.net</a>> wrote:<br>
<br>
>> I'm trying to compile VTK 5.2 with Borland Turbo (BDS 2006) but I've got<br>
>> 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<br>
>> 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<br>
>> a mem ber of 'std' in function<br>
>> vtkConvertSelection::SelectTableFromTable(vtkTable *,vtkTable<br>
>> *,vtkIdTypeArray *)<br>
<br>
>> Error E2285 C:\vtk\Graphics\vtkConvertSelection.cxx 124: Could not find a<br>
>> match for<br>
>> 'std::set_intersection<_InIt1,_InIt2,_OutIt>(std::_Tree<std::_Tset_traits<int,std::less<int>,std::allocator<int>,0><br>
>> >::iterator,std::_Tree<std::_Tset_traits<br>
>> <int,std::less<int>,std::allocator<int>,0> >::iterator,int *,int<br>
>> *,undefined)' in function vtkConvertSelection::SelectTableFromTable(vtkTable<br>
>> *,vtkTable *,vtkId<br>
>> TypeArray *)<br>
<br>
>> *** 2 errors in Compile ***<br>
<br>
<br>
</div></div></blockquote></div><br></div></div>