[Insight-users] compiling ITK on Solaris 5.8

Peter Cech pcech at vision.ee.ethz.ch
Wed Sep 8 11:58:25 EDT 2004


On Wed, Sep 08, 2004 at 16:15:04 +0100, Jason.Beech-Brandt at ed.ac.uk wrote:
> Hi,
> 
> I'm trying to compile the ITK Toolkit on a SunBlade 1000 running Solaris
> 5.8 and using gcc/g++ version 3.4.1.

Version of VXL bundled with ITK seems not to comply with C++ standard.
Since gcc 3.4 there is new and more strict C++ parser, so it rejects
lots of code that was accepted by previous versions of gcc. You can turn
some errors into warnings by compiler switch -fpermissive, but there
will be still some errors left.

Just switch to older version of compiler (3.3.x or 3.2.x, although in my
case gcc 3.3.3 crashes with ICE in the middle of ITK compilation).

Maybe some ITK developers would be interested to upgrade/fix ITK to
compile with gcc 3.4 (some things are already fixed in VXL CVS
repository).

Regards,
Peter


More information about the Insight-users mailing list