[vtkusers] Compiling VTK on FC3 - vtkImageReader
Mathieu Malaterre
mathieu.malaterre at kitware.com
Mon Mar 21 08:30:37 EST 2005
Tilmann,
When you report a bug please include the VTK version. I believe you are
using VTK 4.2, and the patch to use is:
http://public.kitware.com/cgi-bin/viewcvs.cgi/IO/vtkImageReader.cxx?r1=1.109&r2=1.110
HTH
Mathieu
Tilmann Kluge wrote:
> Hello all,
>
> I have problems compiling VTK on FC3. I get the error attached at the
> end of this mail. Any ideas.
>
> Thanks in advance
>
> Tilmann
>
> ----------------------------------------
>
> Building object file vtkImageReader.o...
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx: In function `void
> vtkImageReaderUpdate2(vtkImageReader*, vtkImageData*, IT*, OT*) [with IT
> = vtkImageReader::ExecuteData::VTK_TT, OT =
> vtkImageReaderUpdate1::VTK_TT]':
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:401: instantiated from
> `void vtkImageReaderUpdate1(vtkImageReader*, vtkImageData*, T*) [with T
> = vtkImageReader::ExecuteData::VTK_TT]'
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:435: instantiated from
> here
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:369: Fehler: ISO C++ says
> that these are ambiguous, even though the worst conversion for the first
> is better than the worst conversion for the second:
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c+
> +/3.4.2/bits/postypes.h:176: Anmerkung: candidate 1: std::fpos<_StateT>
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT =
> mbstate_t]
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:369: Anmerkung: candidate 2:
> operator+(std::streamoff, long int) <built-in>
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:401: instantiated from
> `void vtkImageReaderUpdate1(vtkImageReader*, vtkImageData*, T*) [with T
> = vtkImageReader::ExecuteData::VTK_TT]'
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:435: instantiated from
> here
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:379: Fehler: ISO C++ says
> that these are ambiguous, even though the worst conversion for the first
> is better than the worst conversion for the second:
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c+
> +/3.4.2/bits/postypes.h:176: Anmerkung: candidate 1: std::fpos<_StateT>
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT =
> mbstate_t]
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:379: Anmerkung: candidate 2:
> operator+(std::streamoff, long int) <built-in>
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:401: instantiated from
> `void vtkImageReaderUpdate1(vtkImageReader*, vtkImageData*, T*) [with T
> = vtkImageReader::ExecuteData::VTK_TT]'
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:435: instantiated from
> here
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:379: Fehler: ISO C++ says
> that these are ambiguous, even though the worst conversion for the first
> is better than the worst conversion for the second:
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c+
> +/3.4.2/bits/postypes.h:176: Anmerkung: candidate 1: std::fpos<_StateT>
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT =
> mbstate_t]
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:379: Anmerkung: candidate 2:
> operator+(std::streamoff, long int) <built-in>
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx: In function `void
> vtkImageReaderUpdate2(vtkImageReader*, vtkImageData*, IT*, OT*) [with IT
> = vtkImageReader::ExecuteData::VTK_TT, OT =
> vtkImageReaderUpdate1::VTK_TT]':
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:401: instantiated from
> `void vtkImageReaderUpdate1(vtkImageReader*, vtkImageData*, T*) [with T
> = vtkImageReader::ExecuteData::VTK_TT]'
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:435: instantiated from
> here
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:369: Fehler: ISO C++ says
> that these are ambiguous, even though the worst conversion for the first
> is better than the worst conversion for the second:
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c+
> +/3.4.2/bits/postypes.h:176: Anmerkung: candidate 1: std::fpos<_StateT>
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT =
> mbstate_t]
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:369: Anmerkung: candidate 2:
> operator+(std::streamoff, long int) <built-in>
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:401: instantiated from
> `void vtkImageReaderUpdate1(vtkImageReader*, vtkImageData*, T*) [with T
> = vtkImageReader::ExecuteData::VTK_TT]'
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:435: instantiated from
> here
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:379: Fehler: ISO C++ says
> that these are ambiguous, even though the worst conversion for the first
> is better than the worst conversion for the second:
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c+
> +/3.4.2/bits/postypes.h:176: Anmerkung: candidate 1: std::fpos<_StateT>
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT =
> mbstate_t]
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:379: Anmerkung: candidate 2:
> operator+(std::streamoff, long int) <built-in>
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:401: instantiated from
> `void vtkImageReaderUpdate1(vtkImageReader*, vtkImageData*, T*) [with T
> = vtkImageReader::ExecuteData::VTK_TT]'
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:435: instantiated from
> here
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:379: Fehler: ISO C++ says
> that these are ambiguous, even though the worst conversion for the first
> is better than the worst conversion for the second:
> /usr/lib/gcc/i386-redhat-linux/3.4.2/../../../../include/c+
> +/3.4.2/bits/postypes.h:176: Anmerkung: candidate 1: std::fpos<_StateT>
> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT =
> mbstate_t]
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:379: Anmerkung: candidate 2:
> operator+(std::streamoff, long int) <built-in>
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx: In function `void
> vtkImageReaderUpdate2(vtkImageReader*, vtkImageData*, IT*, OT*) [with IT
> = vtkImageReader::ExecuteData::VTK_TT, OT =
> vtkImageReaderUpdate1::VTK_TT]':
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:401: instantiated from
> `void vtkImageReaderUpdate1(vtkImageReader*, vtkImageData*, T*) [with T
> = vtkImageReader::ExecuteData::VTK_TT]'
> /home/kluget/Temp/VTK/IO/vtkImageReader.cxx:435: instantiated from
> here
>
> --- this goes on for another 900 lines
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list