[Dcmlib] Probleme compil vtkGdcmReader RH9
Emmanuel Olart
olart at theralys.com
Tue Nov 4 12:08:40 CET 2003
Voici l output que je recupere sur RH9 :
g++ -DHAVE_CONFIG_H -I. -I. -I../src -I. -I../src -I/usr/include/python2.2
-I/usr/include/vtk -I/usr/local/include/vtk -g -O2 -c vtkGdcmReader.cxx -MT
vtkGdcmReader.lo -MD -MP -MF .deps/vtkGdcmReader.TPlo -fPIC -DPIC -o
.libs/vtkGdcmReader.lo
In file included from /usr/include/c++/3.2.2/backward/strstream:51,
from /usr/local/include/vtk/vtkIOStream.h:31,
from /usr/local/include/vtk/vtkSystemIncludes.h:49,
from /usr/local/include/vtk/vtkIndent.h:27,
from /usr/local/include/vtk/vtkObjectBase.h:46,
from /usr/local/include/vtk/vtkObject.h:44,
from /usr/local/include/vtk/vtkObjectFactory.h:46,
from vtkGdcmReader.cxx:46:
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the C++
standard. Examples include substituting the <X> header for the <X.h> header
for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
vtkGdcmReader.cxx: In member function `int
vtkGdcmReader::CheckFileCoherence()':
vtkGdcmReader.cxx:242: no match for `vtkOStreamWrapper& << std::string&'
operator
/usr/local/include/vtk/vtkOStreamWrapper.h:54: candidates are:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(const
vtkOStreamWrapper::EndlType&)
/usr/local/include/vtk/vtkOStreamWrapper.h:55:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(const vtkIndent&)
/usr/local/include/vtk/vtkOStreamWrapper.h:56:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(vtkObjectBase&)
/usr/local/include/vtk/vtkOStreamWrapper.h:57:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(const vtkLargeInteger&)
/usr/local/include/vtk/vtkOStreamWrapper.h:58:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(const
vtkSmartPointerBase&)
/usr/local/include/vtk/vtkOStreamWrapper.h:59:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(std::ostream&)
/usr/local/include/vtk/vtkOStreamWrapper.h:60:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(const char*)
/usr/local/include/vtk/vtkOStreamWrapper.h:61:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(void*)
/usr/local/include/vtk/vtkOStreamWrapper.h:62:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(char)
/usr/local/include/vtk/vtkOStreamWrapper.h:63:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(short int)
/usr/local/include/vtk/vtkOStreamWrapper.h:64:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(int)
/usr/local/include/vtk/vtkOStreamWrapper.h:65:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(long int)
/usr/local/include/vtk/vtkOStreamWrapper.h:66:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(unsigned char)
/usr/local/include/vtk/vtkOStreamWrapper.h:67:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(short unsigned int)
/usr/local/include/vtk/vtkOStreamWrapper.h:68:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(unsigned int)
/usr/local/include/vtk/vtkOStreamWrapper.h:69:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(long unsigned int)
/usr/local/include/vtk/vtkOStreamWrapper.h:70:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(float)
/usr/local/include/vtk/vtkOStreamWrapper.h:71:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(double)
/usr/local/include/vtk/vtkOStreamWrapper.h:77:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(bool)
/usr/local/include/vtk/vtkOStreamWrapper.h:83:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(void (*)(void*))
/usr/local/include/vtk/vtkOStreamWrapper.h:84:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(void*(*)(void*))
/usr/local/include/vtk/vtkOStreamWrapper.h:85:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(int (*)(void*))
/usr/local/include/vtk/vtkOStreamWrapper.h:86:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(int*(*)(void*))
/usr/local/include/vtk/vtkOStreamWrapper.h:87:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(float*(*)(void*))
/usr/local/include/vtk/vtkOStreamWrapper.h:88:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(const char*(*)(void*))
/usr/local/include/vtk/vtkOStreamWrapper.h:89:
vtkOStreamWrapper& vtkOStreamWrapper::operator<<(void (*)(void*, int*))
/usr/local/include/vtk/vtkIdType.h:59: std::ostream&
operator<<(std::ostream&, vtkIdTypeHolder)
/usr/local/include/vtk/vtkIndent.h:49: std::ostream&
operator<<(std::ostream&, const vtkIndent&)
/usr/local/include/vtk/vtkObjectBase.h:140: std::ostream&
operator<<(std::ostream&, vtkObjectBase&)
../src/gdcmException.h:67: std::ostream&
operator<<(std::ostream&, const gdcmException&)
make[1]: *** [vtkGdcmReader.lo] Error 1
make[1]: Leaving directory `/home/manu/src/gdcm/vtk'
make: *** [all-recursive] Error 1
A noter egalement que dans le Makefile.am du repertoire vtk, les repertoires
d includes et de lib vtk sont mis en dur et non pas determinés par l'autogen
/ configure. Je suis donc oblige sur une config ou vtk est installe dans
/usr/local/ au lieu de /usr de modifier le Makefile.am a la main avant la
compil
Manu
More information about the Dcmlib
mailing list