[vtkusers] vtkFastNumericConversion
Chris Volpe
cvolpe at ara.com
Thu Aug 4 10:30:10 EDT 2005
I agree with Mathieu's diagnosis. David, if you're still having trouble
after moving up the #include, let me know and I'll try to help.
Chris
--
Christopher R. Volpe, Ph.D.
Senior Scientist Email: cvolpe at ara.com
Applied Research Associates, Inc. Voice: 919-582-3380
8540 Colonnade Center Dr., Ste 301 Fax: 919-878-3672
Raleigh, NC 27615 Web: www.ara.com
> -----Original Message-----
> From: vtkusers-bounces+cvolpe=ara.com at vtk.org [mailto:vtkusers-
> bounces+cvolpe=ara.com at vtk.org] On Behalf Of Mathieu Malaterre
> Sent: Wednesday, August 03, 2005 11:07 PM
> To: David Christen
> Cc: vtkusers at vtk.org
> Subject: Re: [vtkusers] vtkFastNumericConversion
>
> David,
>
> Can you build VK with those compilers ?
> What I believe is that somewhere in your code you are doing:
>
> #define Round ...
>
> *before* actually including the vtk header.
>
> HTH,
> Mathieu
>
> David Christen wrote:
> > When I try to complie my volume rendering application, I get an
> > error-message for the include file vtkFastNumericConversion.h:
> >
> > Building object file volViewer.o...
> > In file included from
> > /localhost/stow/VTK-cvs/include/vtk/vtkVolumeRayCastMapper.h:29,
> > from
> >
>
/home/pdavison/pack/vtkMy/src/TestProjects/TestDChristen/volViewer.cxx:2
0:
> > /localhost/stow/VTK-cvs/include/vtk/vtkFastNumericConversion.h:358:
> > error: expected unqualified-id before "const"
> > /localhost/stow/VTK-cvs/include/vtk/vtkFastNumericConversion.h:358:
> > error: expected `)' before "const"
> > /localhost/stow/VTK-cvs/include/vtk/vtkFastNumericConversion.h:358:
> > error: expected `)' before "const"
> > /localhost/stow/VTK-cvs/include/vtk/vtkFastNumericConversion.h:358:
> > error: expected `)' before "const"
> > In file included from
> >
>
/home/pdavison/pack/vtkMy/src/TestProjects/TestDChristen/volViewer.cxx:2
0:
> > /localhost/stow/VTK-cvs/include/vtk/vtkVolumeRayCastMapper.h: In
> > function `int vtkRoundFuncMacro(double)':
> > /localhost/stow/VTK-cvs/include/vtk/vtkVolumeRayCastMapper.h:56:
error:
> > expected unqualified-id before '(' token
> > make[5]: *** [volViewer.o] Error 1
> >
> >
> > I'm using:
> >
> > [vtkmy at localhost src]$ c++ --version
> > c++ (GCC) 3.4.4
> >
> > [vtkmy at localhost src]$ gcc --version
> > gcc (GCC) 3.4.4
> >
> > I had the problem with a VTK-cvs version from May. Now I got the
very
> > recent cvs version and still have the same error.
> >
> > thanks for any help.
> > _______________________________________________
> > This is the private VTK discussion list. Please keep messages
on-topic.
> > Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the 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