Re: [Paraview] vtkstd with VS2008 issue

2010-07-08 Thread Fred Fred
Thx all of you. I actually did not include algorithm.h but since everything went fine with g++ I simply did never realize that something was missing. From: dave.part...@kitware.com Date: Thu, 8 Jul 2010 11:25:17 -0400 Subject: Re: [Paraview] vtkstd with VS2008 issue To: stan1...@hotmail.fr CC

Re: [Paraview] vtkstd with VS2008 issue

2010-07-08 Thread Aashish Chaudhary
Sorry missed reply to all On Thu, Jul 8, 2010 at 11:17 AM, Aashish Chaudhary < aashish.chaudh...@kitware.com> wrote: > Did you include algorithm? > > #include > > > On Thu, Jul 8, 2010 at 11:11 AM, Fred Fred wrote: > >> Hello, >> how to cope with the fact using vtkstd:: causes syntax errors

Re: [Paraview] vtkstd with VS2008 issue

2010-07-08 Thread Dave Partyka
Or If you prefer to use vtkstd instead of vtksys (Don't ask me what is different between them). Did you include #include ? On Thu, Jul 8, 2010 at 11:15 AM, Dave Partyka wrote: > Use this instead. > > #include // lower_bound > > vtksys_stl::lower_bound( > > On Thu, Jul 8, 2010 at 11:11 AM, Fr

Re: [Paraview] vtkstd with VS2008 issue

2010-07-08 Thread Dave Partyka
Use this instead. #include // lower_bound vtksys_stl::lower_bound( On Thu, Jul 8, 2010 at 11:11 AM, Fred Fred wrote: > Hello, > how to cope with the fact using vtkstd:: causes syntax errors on VS2008 > while it works well on g++? > > p = vtkstd::lower_bound(start, end, *it, vtkstd::les

[Paraview] vtkstd with VS2008 issue

2010-07-08 Thread Fred Fred
Hello, how to cope with the fact using vtkstd:: causes syntax errors on VS2008 while it works well on g++? p = vtkstd::lower_bound(start, end, *it, vtkstd::less()); error C2039: 'lower_bound' : is not a member of 'std'