[vtkusers] Compile error for VTK4.2 om Mandrake 9.2
Hans Kristian Ruud
h-kri-ru at online.no
Sat Feb 28 06:47:59 EST 2004
Hello.
I bought the book "The Visualization Toolkit" and set out to install VTK4.2
from the accompanying CD. I had successfully installed VTK about six weeks
ago (downloading from Internet), the reason I am reinstalling
is to try to get vtkpython to work.
Hovewer the installation process crashes:
Building object file vtkDataArraySelection.o...
In file included from /usr/include/c++/3.3.1/backward/strstream:51,
from /usr/local/VTK/Common/vtkIOStream.h:31,
from /usr/local/VTK/Common/vtkSystemIncludes.h:49,
from /usr/local/VTK/Common/vtkIndent.h:27,
from /usr/local/VTK/Common/vtkObjectBase.h:46,
from /usr/local/VTK/Common/vtkObject.h:44,
from /usr/local/VTK/Common/vtkDataArraySelection.h:29,
from /usr/local/VTK/Common/vtkDataArraySelection.cxx:18:
/usr/include/c++/3.3.1/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/Common/vtkDataArraySelection.cxx:36: error: syntax error before
`<' token
/usr/local/VTK/Common/vtkDataArraySelection.cxx:37: error: syntax error before
`<' token
/usr/local/VTK/Common/vtkDataArraySelection.cxx: In constructor
`vtkDataArraySelection::vtkDataArraySelection()':
/usr/local/VTK/Common/vtkDataArraySelection.cxx:42: error: invalid use of
undefined type `class vtkDataArraySelectionArrayNamesType'
/usr/local/VTK/Common/vtkDataArraySelection.h:31: error: forward declaration
of `class vtkDataArraySelectionArrayNamesType'
< about 70 lines of error message deleted >
make[3]: **/Common/vtkDataArraySelection.cxx* [vtkDataArraySelection.o] Error
1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Common] Error 2
make: *** [default_target] Error 2
These are the values of the environment variables CC and CXX:
[hans at localhost hans]$ echo $CC
/usr/bin/gcc
[hans at localhost hans]$ echo $CXX
/usr/bin/gcc
Thanks in advance for any advice/assistance.
Hans Kristian
More information about the vtkusers
mailing list