[Insight-users] ITK + MinGW + windows
Dário Oliveira
dariodisk at gmail.com
Wed Aug 15 16:33:05 EDT 2007
Hi Friends,
I'm trying to compile ITK using MinGW/Win32. I've tried some different
releases of ITK, and in all of them I get the same error. Does anyone passed
trough the same issue?
Thank you all,
the error is the folowing:
[ 93%] Building CXX object
Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.obj
Linking CXX executable ../../bin/itkTestDriver.exe
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS
_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter<itk::Image<unsigned char, 2u>
>::W
rite()]+0x12c7):itkTestDriver.cxx: undefined reference to
`itk::SmartPointerForw
ardReference<itk::ProcessObject>::operator itk::ProcessObject*() const'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS
_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter<itk::Image<unsigned char, 2u>
>::W
rite()]+0x12f3):itkTestDriver.cxx: undefined reference to
`itk::SmartPointerForw
ardReference<itk::ProcessObject>::~SmartPointerForwardReference()'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS
_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter<itk::Image<unsigned char, 2u>
>::W
rite()]+0x132f):itkTestDriver.cxx: undefined reference to
`itk::SmartPointerForw
ardReference<itk::ProcessObject>::~SmartPointerForwardReference()'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS
_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter<itk::Image<unsigned char, 2u>
>::W
rite()]+0x1371):itkTestDriver.cxx: undefined reference to
`itk::SmartPointerForw
ardReference<itk::ProcessObject>::operator->() const'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS
_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter<itk::Image<unsigned char, 2u>
>::W
rite()]+0x13a3):itkTestDriver.cxx: undefined reference to
`itk::SmartPointerForw
ardReference<itk::ProcessObject>::~SmartPointerForwardReference()'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS
_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter<itk::Image<unsigned char, 2u>
>::W
rite()]+0x13df):itkTestDriver.cxx: undefined reference to
`itk::SmartPointerForw
ardReference<itk::ProcessObject>::~SmartPointerForwardReference()'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up
dateOutputInformationEv[itk::ImageBase<2u>::UpdateOutputInformation()]+0x64):itk
TestDriver.cxx: undefined reference to
`itk::SmartPointerForwardReference<itk::P
rocessObject>::operator itk::ProcessObject*() const'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up
dateOutputInformationEv[itk::ImageBase<2u>::UpdateOutputInformation()]+0x81):itk
TestDriver.cxx: undefined reference to
`itk::SmartPointerForwardReference<itk::P
rocessObject>::~SmartPointerForwardReference()'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up
dateOutputInformationEv[itk::ImageBase<2u>::UpdateOutputInformation()]+0xab):itk
TestDriver.cxx: undefined reference to
`itk::SmartPointerForwardReference<itk::P
rocessObject>::~SmartPointerForwardReference()'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up
dateOutputInformationEv[itk::ImageBase<2u>::UpdateOutputInformation()]+0xde):itk
TestDriver.cxx: undefined reference to
`itk::SmartPointerForwardReference<itk::P
rocessObject>::operator->() const'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up
dateOutputInformationEv[itk::ImageBase<2u>::UpdateOutputInformation()]+0x119):it
kTestDriver.cxx: undefined reference to
`itk::SmartPointerForwardReference<itk::
ProcessObject>::~SmartPointerForwardReference()'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up
dateOutputInformationEv[itk::ImageBase<2u>::UpdateOutputInformation()]+0x143):it
kTestDriver.cxx: undefined reference to
`itk::SmartPointerForwardReference<itk::
ProcessObject>::~SmartPointerForwardReference()'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up
dateOutputInformationEv[itk::ImageBase<6u>::UpdateOutputInformation()]+0x64):itk
TestDriver.cxx: undefined reference to
`itk::SmartPointerForwardReference<itk::P
rocessObject>::operator itk::ProcessObject*() const'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up
dateOutputInformationEv[itk::ImageBase<6u>::UpdateOutputInformation()]+0x81):itk
TestDriver.cxx: undefined reference to
`itk::SmartPointerForwardReference<itk::P
rocessObject>::~SmartPointerForwardReference()'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up
dateOutputInformationEv[itk::ImageBase<6u>::UpdateOutputInformation()]+0xab):itk
TestDriver.cxx: undefined reference to
`itk::SmartPointerForwardReference<itk::P
rocessObject>::~SmartPointerForwardReference()'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up
dateOutputInformationEv[itk::ImageBase<6u>::UpdateOutputInformation()]+0xde):itk
TestDriver.cxx: undefined reference to
`itk::SmartPointerForwardReference<itk::P
rocessObject>::operator->() const'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up
dateOutputInformationEv[itk::ImageBase<6u>::UpdateOutputInformation()]+0x119):it
kTestDriver.cxx: undefined reference to
`itk::SmartPointerForwardReference<itk::
ProcessObject>::~SmartPointerForwardReference()'
CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up
dateOutputInformationEv[itk::ImageBase<6u>::UpdateOutputInformation()]+0x143):it
kTestDriver.cxx: undefined reference to
`itk::SmartPointerForwardReference<itk::
ProcessObject>::~SmartPointerForwardReference()'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [bin/itkTestDriver.exe] Error 1
mingw32-make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2
mingw32-make: *** [all] Error 2
--
Dário Oliveira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070815/80c1b1bd/attachment.html
More information about the Insight-users
mailing list