[vtkusers] Fw: Installation error by make in vtkImageReader

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Apr 27 10:38:40 EDT 2005


Shuaib,

You need to apply the same patch as you did for vtkBMPReader:

http://vtk.org/cgi-bin/viewcvs.cgi/IO/vtkImageReader.cxx?r1=1.109&r2=1.110

HTH
Mathieu

Shuaib Karim wrote:
> I am trying to install VTK 4.2. Could anyone give some help please.
> 
> Shuaib
> ----- Original Message ----- From: "Shuaib Karim" <skarim at ifs.tuwien.ac.at>
> To: <vtkusers at vtk.org>
> Sent: Monday, April 25, 2005 8:09 PM
> Subject: Installation error by make in vtkImageReader
> 
> 
>> Hi,
>> Excuse-me for asking maybe very simple installation problem of VTK.
>> After running cmake -i on my Linux machine (Fedora core), when  I run 
>> make, I get many errors of following type:
>> -------------------------------------------
>> /IO/vtkImageReader.cxx:370: error: ISO C++ says that these are 
>> ambiguous, even though the worst conversion for the first is better 
>> than the worst conversion for the second:
>> -----------------------------
>> Before I corrected the same type of error for vtkBMReader.cxx (by 
>> editing the file), and then I get a series of errors like
>> ------------------------
>> /home/skarim/VisToolKit/VTK/IO/vtkImageReader.cxx:438:   instantiated 
>> from here
>> /home/skarim/VisToolKit/VTK/IO/vtkImageReader.cxx:370: error: 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.3/../../../../include/c++/3.4.3/bits/postypes.h:176: 
>> note: candidate 1: std::fpos<_StateT> 
>> std::fpos<_StateT>::operator+(std::streamoff) const [with _StateT = 
>> mbstate_t]
>> /home/skarim/VisToolKit/VTK/IO/vtkImageReader.cxx:370: note: candidate 
>> 2: operator+(std::streamoff, long int) <built-in>
>> /home/skarim/VisToolKit/VTK/IO/vtkImageReader.cxx:404:   instantiated 
>> from `void vtkImageReaderUpdate1(vtkImageReader*, vtkImageData*, T*) 
>> [with T = vtkImageReader::ExecuteData::VTK_TT]'
>> /home/skarim/VisToolKit/VTK/IO/vtkImageReader.cxx:438:   instantiated 
>> from here
>> /home/skarim/VisToolKit/VTK/IO/vtkImageReader.cxx:382: error: ISO C++ 
>> says that these are ambiguous, even though the worst conversion for 
>> the first is better than the worst conversion for the second:
>> ---------------------------------------------------
>>
>> Could anyone give me some hint if there is any solution other than 
>> editing the individual files.
>>
>> With a lot of thanks,
>>
>> Shuaib
>>
>>
> 
> _______________________________________________
> 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