[vtkusers] Compile error under AIX 4.3

David Gobbi dgobbi at irus.rri.ca
Thu Aug 30 14:42:32 EDT 2001


My guess is that Joey's guess is correct.  Do a search/replace of high
and see if that helps (and email me back if it does).  Also, upgrade to
gcc 2.95.3 if you can, it fixed a large number of bugs in 2.95.2.

 - David

On Thu, 30 Aug 2001, Joey Mukherjee wrote:

>
> >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?
>
> Its a #define gone awry.  My guess is "high" is defined somewhere and AIX is
> having a problem with it.
>
> Joey





More information about the vtkusers mailing list