[vtk-developers] isfinite was not declared in this scope

Matt McCormick matt.mccormick at kitware.com
Thu Aug 8 11:43:20 EDT 2013


Forwarding to vtk-developers:

On Thu, Aug 8, 2013 at 3:36 PM, Arnaud Gelas <arnaudgelas at gmail.com> wrote:
> Hi Matt,
>
> I am trying to make the visualization work on my machine and I have tried
> compiling vtk on my machine, but I get the following compilation error:
>
> /home/ajg23/DEVEL/src/VTK/Common/Core/vtkMath.h: In static member function
> ‘static bool vtkMath::IsFinite(double)’:
> /home/ajg23/DEVEL/src/VTK/Common/Core/vtkMath.h:1295:21: error: ‘isfinite’
> was not declared in this scope
> /home/ajg23/DEVEL/src/VTK/Common/Core/vtkMath.h:1295:21: note: suggested
> alternative:
> /usr/include/c++/4.6/cmath:744:5: note:   ‘std::isfinite’
>
> I am not on the vtk list, but it seems the detection of the existence of
> std::isfinite is wrong!? Any idea on how to solve this? or can you forward
> this email to whoever may help, pls?
>
> Thanks
> Arnaud



More information about the vtk-developers mailing list