[vtkusers] Borland Turbo (BDS2006) doesn't compile VTK 5.2, but it worked for VTK 5.0.
David Cole
david.cole at kitware.com
Fri Aug 29 14:34:17 EDT 2008
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.
David
On Fri, Aug 29, 2008 at 2:25 PM, D_E <D_E at ukr.net> wrote:
> 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 ***
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080829/254a53bc/attachment.htm>
More information about the vtkusers
mailing list