[vtkusers] gcc3.2 compilation troubles

Ferrer Ludovic l-ferrer at nantes.fnclcc.fr
Wed Jun 11 10:21:56 EDT 2003


Hi all,
I would like to install the latest release of vtk (4.2.2) on linux box with 
gcc3.2.
after configuration with ccmake and  make, 
I'have a compilation error as follow :
In file included from /usr/include/c++/3.2/backward/strstream:51,
                 from /usr/local/VTK-4.2.2/Common/vtkIOStream.h:31,
                 from /usr/local/VTK-4.2.2/Common/vtkSystemIncludes.h:49,
                 from /usr/local/VTK-4.2.2/Common/vtkIndent.h:27,
                 from /usr/local/VTK-4.2.2/Common/vtkObjectBase.h:46,
                 from /usr/local/VTK-4.2.2/Common/vtkObject.h:44,
                 from /usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:29,
                 from 
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:18:
/usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This 
file includes at least one deprecated or antiquated header. Please consider 
using one of the 32 headers found in section 17.4.1.2 of the C++ standard. 
Examples include substituting the <X> header for the <X.h> header for C++ 
includes, or <sstream> instead of the deprecated header <strstream.h>. To 
disable this warning use -Wno-deprecated.
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:36: parse error before 
`<' token
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:37: parse error before 
`<' token
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx: In constructor 
`vtkDataArraySelection::vtkDataArraySelection()':
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:42: invalid use of 
undefined type `class vtkDataArraySelectionArrayNamesType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:31: forward declaration of 
`class vtkDataArraySelectionArrayNamesType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:43: invalid use of 
undefined type `class vtkDataArraySelectionArraySettingsType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:32: forward declaration of 
`class vtkDataArraySelectionArraySettingsType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx: In destructor `virtual 
vtkDataArraySelection::~vtkDataArraySelection()':
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:49: invalid use of 
undefined type `class vtkDataArraySelectionArraySettingsType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:32: forward declaration of 
`class vtkDataArraySelectionArraySettingsType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:50: invalid use of 
undefined type `class vtkDataArraySelectionArrayNamesType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:31: forward declaration of 
`class vtkDataArraySelectionArrayNamesType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx: In member function 
`void vtkDataArraySelection::EnableArray(const char*)':
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:63: `::vector' 
undeclared (first use here)
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:63: `::string' 
undeclared (first use here)
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:63: `::iterator' 
undeclared (first use here)
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:63: parse error before 
`=' token
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:65: `i' undeclared 
(first use this function)
....................................
....................................
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:255: invalid use of 
undefined type `class vtkDataArraySelectionArraySettingsType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:32: forward declaration of 
`class vtkDataArraySelectionArraySettingsType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:259: invalid use of 
undefined type `class vtkDataArraySelectionArrayNamesType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:31: forward declaration of 
`class vtkDataArraySelectionArrayNamesType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:260: invalid use of 
undefined type `class vtkDataArraySelectionArraySettingsType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:32: forward declaration of 
`class vtkDataArraySelectionArraySettingsType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx: In member function 
`void vtkDataArraySelection::CopySelections(vtkDataArraySelection*)':
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:274: invalid use of 
undefined type `class vtkDataArraySelectionArrayNamesType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:31: forward declaration of 
`class vtkDataArraySelectionArrayNamesType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:275: invalid use of 
undefined type `class vtkDataArraySelectionArrayNamesType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:31: forward declaration of 
`class vtkDataArraySelectionArrayNamesType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:276: invalid use of 
undefined type `class vtkDataArraySelectionArrayNamesType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:31: forward declaration of 
`class vtkDataArraySelectionArrayNamesType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:277: invalid use of 
undefined type `class vtkDataArraySelectionArraySettingsType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:32: forward declaration of 
`class vtkDataArraySelectionArraySettingsType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:278: invalid use of 
undefined type `class vtkDataArraySelectionArraySettingsType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:32: forward declaration of 
`class vtkDataArraySelectionArraySettingsType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.cxx:279: invalid use of 
undefined type `class vtkDataArraySelectionArraySettingsType'
/usr/local/VTK-4.2.2/Common/vtkDataArraySelection.h:32: forward declaration of 
`class vtkDataArraySelectionArraySettingsType'
make[3]: *** [vtkDataArraySelection.o] Erreur 1
make[2]: *** [default_target] Erreur 2
make[1]: *** [default_target_Common] Erreur 2
make: *** [default_target] Erreur 2

Any ideas ?

thanks



More information about the vtkusers mailing list