[vtkusers] vtkFastNumericConversion

David Christen davidc at ee.ethz.ch
Wed Aug 3 19:26:01 EDT 2005


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:20:
/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:20:
/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.



More information about the vtkusers mailing list