[vtkusers] VTK + ITK + IRIX CC problems

Jarek Sacha galicjan at yahoo.com
Tue Dec 17 09:42:27 EST 2002


Jean:

Thanks for your suggestions. I though maybe my cmake setup was missing
something. This looks to be rather a bug in VTK’s MIPSPro compiler
support. I am a bit surprised to see this problem since both VTK and ITK
dashboards show no compilation problems for IRIX64-6.­5-CC build. This is
probably a question for VTK/ITK testing folks. What setup is used for
testing VTK/ITK builds? Shouldn't it include VTK-ITK integration tests?

Jarek


--- "Jean M. Favre" <jfavre at cscs.ch> wrote:
> Jarek Sacha wrote:
> > 
> > General question: how to setup VTK+ITK with IRIX CC compiler?
> > 
> > A am using IRIX 6.5, CC 7.3, cmake 1.4.7, and recent VTK and ITK from
> > CVS. ITK requires that cmake variable VTK_USE_ANSI_STDLIB be set on.
> If it
> > is set to on, CC reports errors building IO/vtkBMPReader.cxx:
> > 
> > cc-1324 CC: ERROR File =
> /imaging/programs/src/VTK/IO/vtkBMPReader.cxx,
> > Line = 506
> >   More than one operator "+" matches the specified operands.
> > 
> >             Built-in operator "arithmetic + arithmetic" has an
> > overloading
> >                       ambiguity.
> 
> I have the same problem under SGI and my fix is to edit the few files
> with problems and break out the expression with the "ambiguity" in
> several statements. That is not pretty and I was waiting for a compiler
> upgrade to see if it would fix it.
> 
> Example from BMPReader.cxx
> 
>       tmp = self->GetFile()->tellg();
>       tmp += streamSkip0;
>       self->GetFile()->seekg(tmp, ios::beg);
> 
> I was able to do a full compile after editing these files. (SGI Octane
> CC 7.3)
> 
> -- 
> Dr. Jean M. Favre,                            email:favre at cscs.ch
> http://www.cscs.ch/people/Favre.html
> CSCS, Swiss Center for Scientific Computing | Tel:  +41 (91) 610.82.40
> Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com



More information about the vtkusers mailing list