[vtkusers] error when including vtkSelectionNode
David E DeMarle
dave.demarle at kitware.com
Mon Aug 6 13:26:48 EDT 2012
The error:
>> /VTK-src/Filtering/vtkSelectionNode.h:168:35: error: expected
>> unqualified-id before numeric constant
Says that your compiler doesn't like this line in vtkSelectionNode.h
static vtkInformationDoubleKey* EPSILON();
"EPSILON" is probably #defines to a number in your code of a header
somewhere above this include.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Mon, Aug 6, 2012 at 1:12 PM, Gonzalo Amadio <gonzaloamadio at gmail.com> wrote:
> I have an error when adding this line to my program.
>
>> #include <vtkSelectionNode.h>
>
>
> The error I have is :
>
>> /VTK-src/Filtering/vtkSelectionNode.h:168:35: error: expected
>> unqualified-id before numeric constant
>> /VTK-src/Filtering/vtkSelectionNode.h:168:35: error: expected ‘;’ before
>> numeric constant
>
>
>> if (this->SelectionData)
>> {
>> //THIS IS LINE 168
>> this->SelectionData->PrintSelf(os, indent.GetNextIndent());
>> }
>
>
> I have not touched the file. I attached it, just in case.
> I am using VTK 5.6.1
>
> Any ideas of what can it be?
>
> --
> --------
> Gonzalo Amadio
>
>
> _______________________________________________
> 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
>
More information about the vtkusers
mailing list