[vtkusers] Compile error under AIX 4.3

Johnny Norris jnorris at mcs.anl.gov
Thu Aug 30 12:14:56 EDT 2001


Hi,

I'm trying to compile a nightly release of VTK on an IBM SP-2 with AIX 4.3 and
gcc 2.95.2, and I get the following compile error:

c++  -O2 -ffast-math -DVTK_REMOVE_LEGACY_CODE -DVTK_LEAN_AND_MEAN -I.  -I. -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging -DVTK_USE_IMAGING -I./../contrib -DVTK_USE_CONTRIB -I./../parallel -DVTK_USE_PARALLEL    -I./../common -I../common     -c vtkImageReslice.cxx -o vtkImageReslice.o
vtkImageReslice.cxx: In function `void vtkOptimizedPermuteExecuteCubic(vtkImageReslice *, vtkImageData *, T *, vtkImageData *, T *, int *, int, vtkMatrix4x4 *)':
vtkImageReslice.cxx:2856: parse error before `100'
gmake[1]: *** [vtkImageReslice.o] Error 1
gmake[1]: Leaving directory `/home/ibmsp/jnorris/src/vtk/imaging'
gmake: *** [build_imaging] Error 2

Line 2856 of imaging/vtkImageReslice.cxx is
    int hz = high[2][idZ];
so I'm not sure what it's complaining about.  Has anyone else managed to
compile VTK under AIX?

Thanks,
John
-- 
John Norris
Research Programmer
Center for Simulation of Advanced Rockets
http://www.uiuc.edu/ph/www/jnorris




More information about the vtkusers mailing list