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

David Gobbi david.gobbi at gmail.com
Thu Aug 8 12:02:09 EDT 2013


On Thu, Aug 8, 2013 at 9:43 AM, Matt McCormick
<matt.mccormick at kitware.com> wrote:
> Forwarding to vtk-developers:
>
> On Thu, Aug 8, 2013 at 3:36 PM, Arnaud Gelas <arnaudgelas at gmail.com> wrote:
>>
>> /home/ajg23/DEVEL/src/VTK/Common/Core/vtkMath.h:1295:21: error: ‘isfinite’
>> was not declared in this scope

This is probably due to stale values in your CMakeCache.txt.
I suggest that you open your CMakeCache.txt in a text editor
and delete the lines that set the following variables:

VTK_HAS_FINITE
VTK_HAS_ISFINITE
VTK_HAS_ISINF
VTK_HAS_ISNAN
VTK_HAS_STD_ISFINITE
VTK_HAS_STD_ISINF
VTK_HAS_STD_ISNAN

After you delete these lines, the next time you run cmake the
variables should be properly re-detected.

 David



More information about the vtk-developers mailing list