[vtk-developers] Errors when compiling VTK v6.0.0 in C++11 mode

Dominique Belhachemi domibel at debian.org
Fri Jul 26 16:51:14 EDT 2013


On Fri, Jul 26, 2013 at 9:34 AM, Sean McBride <sean at rogue-research.com>wrote:

> On Wed, 10 Jul 2013 16:31:47 +0200, Kevin Funk said:
>
> >Compiling VTK v6.0.0 with C++11 mode enabled results in the following
> >compilation error:
> >
> >"""
> >[ 26%] Building CXX object
> >Common/Core/CMakeFiles/vtkCommonCore.dir/vtkAbstractArray.cxx.o
> >In file included from /home/krf/devel/src/VTK-
> >master/Common/Core/vtkAbstractArray.cxx:26:0:
> >/home/krf/devel/src/VTK-master/Common/Core/vtkMath.h: In static member
> >function 'static int vtkMath::IsInf(double)':
> >/home/krf/devel/src/VTK-master/Common/Core/vtkMath.h:1249:18: error: call
> of
> >overloaded 'isinf(double&)' is ambiguous
>
> Can anyone out there provide a linux + gcc + C++11 dashboard?  My Mac +
> clang + C++11 dashboard did not catch this problem...
>
>
I can submit another nightly build. Are the options below good enough?

set(dashboard_cache "
  VTK_Group_Imaging:BOOL=ON
  VTK_Group_Qt:BOOL=OFF
  VTK_Group_Tk:BOOL=ON
  VTK_Group_Views:BOOL=ON
  VTK_WRAP_JAVA:BOOL=OFF
  VTK_WRAP_PYTHON:BOOL=ON
  VTK_WRAP_TCL:BOOL=ON
  CMAKE_CXX_FLAGS:STRING=-std=c++11 -std=gnu++11
")

Cheers
-Dominique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130726/f58521ba/attachment.html>


More information about the vtk-developers mailing list