[vtkusers] build errors VS12, need to #include <algorithm>
David E DeMarle
dave.demarle at kitware.com
Thu Nov 14 14:48:50 EST 2013
Marcus approved it, but Joachim didn't merge it. My guess is that Gerrit's
notification was lost in the email background noise.
Approved developers should merge there own changes once someone else
approves. That way the original developer knows when to pay especially
close attention to the continuous and nightly dashboards.
I merged it just now. Joachim, please keep an eye out today and tomorrow.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Thu, Nov 14, 2013 at 2:39 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> Hi Lars,
>
> Thanks for the note. A patch for this was approved two weeks ago, but
> for some reason it was not merged yet:
> http://review.source.kitware.com/#/c/13199/
>
> Hopefully someone will read this email and push the "submit" button to
> merge this patch into master :)
>
> David
>
>
>
>
> On Thu, Nov 14, 2013 at 12:21 PM, Lars Matthäus <lars.matthaeus at web.de>
> wrote:
> > Dear all,
> >
> > I'm facing build issues with the current master branch using Visual
> > Studio 2013 (aka Visual Studio 12) and compiling 64 bit.
> >
> > I get error messages like
> >
> > error C2039: 'max' : is not a member of 'std'
> > VTK\Common\Core\vtkUnicodeStringArray.cxx 133
> > error C3861: 'max': identifier not found
> > VTK\Common\Core\vtkUnicodeStringArray.cxx 133
> > error C2039: 'min' : is not a member of 'std'
> > VTK\Filters\Core\vtkCutter.cxx 826
> > error C3861: 'min': identifier not found
> > IVTK\Filters\Core\vtkCutter.cxx 826 1 vtkFiltersCore
> >
> > All in all, it affects 16 files:
> > Charts\Core\vtkContextPolygon.cxx
> > Charts\Core\vtkPiecewisePointHandleItem.cxx
> > Common\Core\vtkUnicodeStringArray.cxx
> > Common\DataModel\vtkMappedUnstructuredGrid.txx
> > Filters\Core\vtkCutter.cxx
> > Filters\Core\vtkThreshold.cxx
> > Filters\General\vtkNormalizeMatrixVectors.cxx
> > Filters\Imaging\vtkPairwiseExtractHistogram2D.cxx
> > IO\Geometry\vtkMoleculeReaderBase.cxx
> > Infovis\Core\vtkAdjacencyMatrixToEdgeTable.cxx
> > Infovis\Layout\vtkIncrementalForceLayout.cxx
> > Rendering\Context2D\vtkMarkerUtilities.cxx
> > Rendering\Core\vtkTextMapper.cxx
> > Rendering\FreeType\vtkMathTextUtilities.cxx
> > Rendering\FreeType\vtkTextActor.cxx
> > Views\Infovis\vtkParallelCoordinatesRepresentation.cxx
> >
> >
> > But if I include algorithm (#include <algorithm>) in each cxx,
> > everything compiles and runs just fine.
> >
> > Am I missing any settings or do others experience the same?
> >
> > Thanks,
> > Lars
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK 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/20131114/a3d3d338/attachment.htm>
More information about the vtkusers
mailing list