[vtkusers] Dicom reader error on msys+mingw
Junior Pilato
junior.pilato at gmail.com
Mon Sep 19 09:51:03 EDT 2005
Hi vtkusers..
I build vtk on winXP using msys + mingw....and its work ok!
Some erros they had occurred when I tryed to build my application:
-------------------------------------------------------------------------------
$ make
Scanning dependencies of target Gera_Modelo
Building CXX object CMakeFiles/Gera_Modelo.dir/MainTest5.obj
Linking CXX executable Gera_Modelo.exe
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x33b):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParserC1Ev'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x395):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN14DICOMAppHelperC1Ev'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x543):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParserC1Ev'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x59d):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN14DICOMAppHelperC1Ev'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0xe7d):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser8OpenFileERKSs'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x1581):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN14DICOMAppHelper5ClearEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x1594):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser25ClearAllDICOMTagCallbacksEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x15df):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser8OpenFileERKSs'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x16bf):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser10ReadHeaderEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x1ad4):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN14DICOMAppHelper5ClearEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x2270):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser8OpenFileERKSs'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x2345):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser25ClearAllDICOMTagCallbacksEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x238d):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser10ReadHeaderEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x2772):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN14DICOMAppHelper36GetImagePositionPatientFilenamePairsERSt6vectorISt4pairIfSsESaIS2_EEb'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x334c):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser25ClearAllDICOMTagCallbacksEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x33a1):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser8OpenFileERKSs'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x344c):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN14DICOMAppHelper5ClearEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x34bf):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser10ReadHeaderEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x34ee):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN14DICOMAppHelper12GetImageDataERPvRN11DICOMParser7VRTypesERm'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x3926):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser25ClearAllDICOMTagCallbacksEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x3943):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN14DICOMAppHelper5ClearEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x3df9):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser8OpenFileERKSs'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x3f37):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser10ReadHeaderEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x3f70):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN14DICOMAppHelper12GetImageDataERPvRN11DICOMParser7VRTypesERm'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x4153):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN14DICOMAppHelper24RescaledImageDataIsFloatEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x4169):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN14DICOMAppHelper25RescaledImageDataIsSignedEv'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text+0x4612):vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN14DICOMAppHelper36GetImagePositionPatientFilenamePairsERSt6vectorISt4pairIfSsESaIS2_EEb'
E:/users/Junior/VTK_cvs/VTK_msys/bin/libvtkIO.a(vtkDICOMImageReader.obj
)(.text$_ZN11DICOMParser11IsDICOMFileEv[DICOMParser::IsDICOMFile()]+0x28):
vtkDICOMImageReader.cxx: undefined reference to
`_imp___ZN11DICOMParser11IsDICOMFileEP9DICOMFile'
collect2: ld returned 1 exit status
make[2]: *** [Gera_Modelo.exe] Error 1
make[1]: *** [CMakeFiles/Gera_Modelo.dir/all] Error 2
make: *** [all] Error 2
------------------------------------------------------------------------------
That application works ok using vtk builded on msvc6...
Does anybory know how solver this ???
Thanks a lot
Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050919/a12390bb/attachment.htm>
More information about the vtkusers
mailing list