[vtkusers] VTK does not compile on AIX

Martin Stenzel mstenzel at pankow.in-berlin.de
Mon Apr 7 14:21:17 EDT 2003


Hi there,

since I want to install "slicer" I am in need of installing VTK version
4.0 (Version 4.2 not (yet) supported).
My system is AIX 4.3.3 (running on an RS/6000). I am using the GNU tools
(gcc, g++) IBM provides with the Toolbox.
I downloaded the official Linux version and jumped into the source tree.
I defined my compiler by pointing CC and CXX to the appropriate programs.
Well, cmake (version 1.4.7) works fine (I activated Tcl) and some
libraries are built
(e.g. libvtkCommon.so, libvtkCommonTCL.so, libvtkpng.so) to name a few.
However, the build does not complete:

g -I/scratch/tmp/VTK/Imaging -I/scratch/tmp/VTK/Graphics
-I/scratch/tmp/VTK/IO -I/scratch/tmp/VTK/Utilities/zlib
-I/scratch/tmp/VTK/Utilities/png -I/scratch/tmp/VTK/Utilities/jpeg
-I/scratch/tmp/VTK/Common/Testing/Cxx   -c
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx -o vtkAssignAttribute.o
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx: In method
`vtkAssignAttribute::vtkAssignAttribute ()':
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx:71: invalid use of type
decl `enum vtkAssignAttribute::AttributeLocation' as expression
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx:73: invalid use of type
decl `enum vtkAssignAttribute::AttributeLocation' as expression
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx: In method `void
vtkAssignAttribute::Assign (const char *, int, int)':
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx:113: invalid use of type
decl `enum vtkAssignAttribute::AttributeLocation' as expression
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx: In method `void
vtkAssignAttribute::Assign (int, int, int)':
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx:139: invalid use of type
decl `enum vtkAssignAttribute::AttributeLocation' as expression
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx: In method `void
vtkAssignAttribute::Execute ()':
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx:221: invalid use of type
decl `enum vtkAssignAttribute::AttributeLocation' as expression
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx:225: invalid use of type
decl `enum vtkAssignAttribute::AttributeLocation' as expression
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx:225: switch quantity not
an integer
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx: In method `void
vtkAssignAttribute::PrintSelf (ostream &, vtkIndent)':
/scratch/tmp/VTK/Graphics/vtkAssignAttribute.cxx:271: invalid use of type
decl `enum vtkAssignAttribute::AttributeLocation' as expression
make: 1254-004 The error code from the last command is 1.


I am not really into C programming, what went wrong?


Many thanks in advance,

M. Stenzel


-- -- -- -- -- -- -- -- -- ---
  M.Stenzel, Berlin, Germany
 mstenzel at pank0w.in-berlin.de
-- -- -- -- -- -- -- -- -- ---
      GPG key available:
http://me.in-berlin.de/~pankow
-- -- -- -- -- -- -- -- -- ---




More information about the vtkusers mailing list