[vtkusers] Problem compiling VTK 4.2 on Suse 10 system

Martin Baumann mailsgetlost at web.de
Tue Nov 1 04:33:53 EST 2005


Hi,

I get the following errors ...
Any idea why this happens?

Thanks

Building object file vtkVectorNorm.o...
Building object file vtkVoxelContoursToSurfaceFilter.o...
Building object file vtkWarpLens.o...
Building object file vtkWarpScalar.o...
Building object file vtkWarpTo.o...
Building object file vtkWarpVector.o...
Building object file vtkWindowedSincPolyDataFilter.o...
Building object file vtkGraphicsInstantiator.o...
Building static library /home/Markus/local/bin/VTK/bin/libvtkGraphics.a...
/home/Markus/local/bin/VTK/IO: building default_target
Building dependencies. cmake.depends...
Building object file vtkBMPReader.o...
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx: In function 'void vtkBMPReaderUp
date2(vtkBMPReader*, vtkImageData*, OT*) [with OT = double]':
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:545:   instantiated from here
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:545:   instantiated from here
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx: In function 'void vtkBMPReaderUp
date2(vtkBMPReader*, vtkImageData*, OT*) [with OT = float]':
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:548:   instantiated from here
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx: In function 'void vtkBMPReaderUp
date2(vtkBMPReader*, vtkImageData*, OT*) [with OT = long unsigned int]':
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:551:   instantiated from here
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx: In function 'void vtkBMPReaderUp
date2(vtkBMPReader*, vtkImageData*, OT*) [with OT = long int]':
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:554:   instantiated from here
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx: In function 'void vtkBMPReaderUp
date2(vtkBMPReader*, vtkImageData*, OT*) [with OT = unsigned int]':
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:557:   instantiated from here
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx: In function 'void vtkBMPReaderUp
date2(vtkBMPReader*, vtkImageData*, OT*) [with OT = int]':
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:560:   instantiated from here
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx: In function 'void vtkBMPReaderUp
date2(vtkBMPReader*, vtkImageData*, OT*) [with OT = short int]':
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:563:   instantiated from here
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx: In function 'void vtkBMPReaderUp
date2(vtkBMPReader*, vtkImageData*, OT*) [with OT = short unsigned int]':
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:566:   instantiated from here
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx: In function 'void vtkBMPReaderUp
date2(vtkBMPReader*, vtkImageData*, OT*) [with OT = unsigned char]':
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:569:   instantiated from here
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: note: candidate 2: operator+
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: error: ISO C++ says that the
se are ambiguous, even though the worst conversion for the first is better than
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]

/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: note: candidate 2: operator+                                           
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx: In function 'void vtkBMPReaderUp                                           
date2(vtkBMPReader*, vtkImageData*, OT*) [with OT = char]':
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:572:   instantiated from here
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: error: ISO C++ says that the                                           
se are ambiguous, even though the worst conversion for the first is better than                                            
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT                                           
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:507: note: candidate 2: operator+                                           
(std::streamoff, long int) <built-in>
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: error: ISO C++ says that the                                           
se are ambiguous, even though the worst conversion for the first is better than                                            
the worst conversion for the second:
/usr/include/c++/4.0.2/bits/postypes.h:175: note: candidate 1: std::fpos<_StateT                                           
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = mbstate_t]
/home/Markus/local/src/VTK/IO/vtkBMPReader.cxx:511: note: candidate 2: operator+                                           
(std::streamoff, long int) <built-in>
make[3]: *** [vtkBMPReader.o] Fehler 1
make[2]: *** [default_target] Fehler 2
make[1]: *** [default_target_IO] Fehler 2
make: *** [default_target] Fehler 2





More information about the vtkusers mailing list