[vtkusers] Compile error under AIX 4.3
Joey Mukherjee
joey at phobos.space.swri.edu
Thu Aug 30 13:50:18 EDT 2001
>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
+--------------------------------------------------------------------------+
+ +
+ Joey Mukherjee "The price of freedom is eternal +
+ joey at swri.org vigilance, or $12.50 as seen on +
+ E-Bay... +
+ +
+--------------------------------------------------------------------------+
More information about the vtkusers
mailing list