[vtkusers] Borland Turbo (BDS2006) doesn't compile VTK 5.2, but it worked for VTK 5.0.

D_E D_E at Ukr.net
Fri Aug 29 14:25:11 EDT 2008


Dear David,

Thank you very much for your advise - it really helped! 
I put the line #include <vtkstd/iterator> in vtkConvertSelection.cxx  just before #include <vtkstd/algorithm> and everything compiled.

Thank you once again for so quick answer!

D_E.

> 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.

> Can you add this at the top of vtkConvertSelection.cxx...

> #include <vtkstd/iterator>
> ...and tell us if that fixes the problem?


> Thanks,
> David


> On Fri, Aug 29, 2008 at 10:26 AM, D_E <D_E at ukr.net> wrote:

>> 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.
>> With the same procedure VTK 5.0.4 compiles without problems.
>> Any suggestion how to fix the problem?
>> Thank you!


>> [ 48%] Building CXX object
>> Graphics/CMakeFiles/vtkGraphics.dir/vtkConvertSelection.obj
>> Borland C++ 5.82 for Win32 Copyright (c) 1993, 2005 Borland
>> C:\vtk\Graphics\vtkConvertSelection.cxx:

>> Error E2316 C:\vtk\Graphics\vtkConvertSelection.cxx 124: 'inserter' is not
>> a mem ber of 'std' in function
>> vtkConvertSelection::SelectTableFromTable(vtkTable *,vtkTable
>> *,vtkIdTypeArray *)

>> 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
>> TypeArray *)

>> *** 2 errors in Compile ***





More information about the vtkusers mailing list