[Insight-users] compiling on linux ppc64

Roger Mason rmason at mun.ca
Fri Feb 18 05:58:57 EST 2011


Hello,

I'm trying to compile 3.20.0 on a linux ppc64 box.  The compilation
fails with the errors appended below.

I'm using gcc (GCC) 4.5.1

Before I spend time working on this, is itk known not to compile on this
platform?

Thanks,
Roger

================================================
[ 21%] Building C object
Utilities/openjpeg/CMakeFiles/itkopenjpeg.dir/bio.o
In file included from
/home/rmason/Software/InsightToolkit-3.20.0/Utilities/openjpeg/opj_includes.h:49:0,
                 from
                 /home/rmason/Software/InsightToolkit-3.20.0/Utilities/openjpeg/bio.c:31:
/home/rmason/Software/InsightToolkit-3.20.0/Utilities/openjpeg/openjpeg.h:189:3:
error: expected specifier-qualifier-list before 'bool'
/home/rmason/Software/InsightToolkit-3.20.0/Utilities/openjpeg/openjpeg.h:316:3:
error: expected specifier-qualifier-list before 'bool'
/home/rmason/Software/InsightToolkit-3.20.0/Utilities/openjpeg/openjpeg.h:330:3:
error: expected specifier-qualifier-list before 'bool'
/home/rmason/Software/InsightToolkit-3.20.0/Utilities/openjpeg/openjpeg.h:339:3:
error: expected specifier-qualifier-list before 'bool'
/home/rmason/Software/InsightToolkit-3.20.0/Utilities/openjpeg/openjpeg.h:622:27:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'opj_encode'
In file included from
/home/rmason/Software/InsightToolkit-3.20.0/Utilities/openjpeg/opj_includes.h:75:0,
                 from
                 /home/rmason/Software/InsightToolkit-3.20.0/Utilities/openjpeg/bio.c:31:
/home/rmason/Software/InsightToolkit-3.20.0/Utilities/openjpeg/event.h:52:6:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'opj_event_msg'

[snipped more similar errors]





More information about the Insight-users mailing list