[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 10:42:00 EDT 2008


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 ***
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080829/c311f739/attachment.htm>


More information about the vtkusers mailing list