[vtkusers] Problem compiling vtk on sunOS 5.6

CEZARD Yann Yann.CEZARD at ifp.fr
Thu Jun 19 06:04:45 EDT 2003


Hi !

I can't get VTK 4.2.2 to compile on SunOS 5.6.
GCC version is 2.8.1 and this is the error I have :
-----------------------
Building object file vtkDataArraySelection.o...
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x:36: parse error before `{'
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x:37: parse error before `{'
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x: In method `vtkDataArraySelection::vtkDataArraySelection()':
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x:42: invalid use of undefined type `class
vtkDataArraySelectionArrayNamesType'
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x:43: invalid use of undefined type `class
vtkDataArraySelectionArraySettingsType'
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x: In method `vtkDataArraySelection::~vtkDataArraySelection()':
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x:49: invalid use of undefined type `class
vtkDataArraySelectionArraySettingsType'
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x:50: invalid use of undefined type `class
vtkDataArraySelectionArrayNamesType'
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x: In method `void vtkDataArraySelection::EnableArray(const char *)':
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x:64: no matching function for call to
`vtkDataArraySelectionArrayNamesType::begin ()'
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x:64: no matching function for call to
`vtkDataArraySelectionArrayNamesType::end ()'
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x:65: no matching function for call to
`vtkDataArraySelectionArrayNamesType::end ()'
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x:67: no matching function for call to
`vtkDataArraySelectionArrayNamesType::begin ()'
/home/ipsun1_1/cezardy/python_dist/VTK-4.2.2/Common/vtkDataArraySelection.cx
x:76: no matching function for call to
`vtkDataArraySelectionArrayNamesType::push_back (const char *&)'
[...]
------------------------------

Does anybody succeed on compiling VTK on SunOS ?
May I upgrade my compiler ?

Thanks for any hints.

Yann



More information about the vtkusers mailing list