[prev in list] [next in list] [prev in thread] [next in thread]
List: vtkusers
Subject: Re: [vtkusers] Borland Turbo (BDS2006) doesn't compile VTK 5.2,
From: "David Cole" <david.cole () kitware ! com>
Date: 2008-08-29 18:34:17
Message-ID: f435c2c50808291134x19686021mef030d0c96fcc1de () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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@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@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 ***
>
>
>
[Attachment #5 (text/html)]
<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>
_______________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic