[vtkusers] VTK + ITK + IRIX CC problems

Jarek Sacha galicjan at yahoo.com
Mon Dec 16 17:08:52 EST 2002


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.
            Function symbol function
                      "std::fpos<mbstate_t>::operator+(std::streamoff)"
is
                      ambiguous by inheritance.
            The operand types are:  std::basic_istream<char,
                      std::char_traits<char>>::pos_type + long.
        self->GetFile()->seekg(self->GetFile()->tellg() + streamSkip0,
ios::beg);
                                                        ^
          detected during instantiation of "void
                    vtkBMPReaderUpdate2(vtkBMPReader *, vtkImageData *,
double
                    *)" 

cc-1324 CC: ERROR File = /imaging/programs/src/VTK/IO/vtkBMPReader.cxx,
Line = 510
  More than one operator "+" matches the specified operands.

            Built-in operator "arithmetic + arithmetic" has an
overloading
                      ambiguity.
            Function symbol function
                      "std::fpos<mbstate_t>::operator+(std::streamoff)"
is
                      ambiguous by inheritance.
            The operand types are:  std::basic_istream<char,
                      std::char_traits<char>>::pos_type + long.
      self->GetFile()->seekg(self->GetFile()->tellg() + streamSkip1,
ios::beg);
                                                      ^
          detected during instantiation of "void
                    vtkBMPReaderUpdate2(vtkBMPReader *, vtkImageData *,
double
                    *)" 
... (and so on)

Do VTK on IRIX require some special setup?
Anybody got similar problems?

Jarek

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



More information about the vtkusers mailing list