<div>Hi Friends,</div>
<div> </div>
<div>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?</div>
<div> </div>
<div>Thank you all, </div>
<div>the error is the folowing: <br><br>[ 93%] Building CXX object Code/IO/CMakeFiles/itkTestDriver.dir/itkTestDriver.obj<br>Linking CXX executable ../../bin/itkTestDriver.exe<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS
<br>_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter<itk::Image<unsigned char, 2u> >::W<br>rite()]+0x12c7):itkTestDriver.cxx: undefined reference to `itk::SmartPointerForw<br>ardReference<itk::ProcessObject>::operator itk::ProcessObject*() const'
<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS<br>_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter<itk::Image<unsigned char, 2u> >::W<br>rite()]+0x12f3):itkTestDriver.cxx: undefined reference to `itk::SmartPointerForw
<br>ardReference<itk::ProcessObject>::~SmartPointerForwardReference()'<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS<br>_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter<itk::Image<unsigned char, 2u> >::W
<br>rite()]+0x132f):itkTestDriver.cxx: undefined reference to `itk::SmartPointerForw<br>ardReference<itk::ProcessObject>::~SmartPointerForwardReference()'<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS
<br>_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter<itk::Image<unsigned char, 2u> >::W<br>rite()]+0x1371):itkTestDriver.cxx: undefined reference to `itk::SmartPointerForw<br>ardReference<itk::ProcessObject>::operator->() const'
<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS<br>_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter<itk::Image<unsigned char, 2u> >::W<br>rite()]+0x13a3):itkTestDriver.cxx: undefined reference to `itk::SmartPointerForw
<br>ardReference<itk::ProcessObject>::~SmartPointerForwardReference()'<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS<br>_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter<itk::Image<unsigned char, 2u> >::W
<br>rite()]+0x13df):itkTestDriver.cxx: undefined reference to `itk::SmartPointerForw<br>ardReference<itk::ProcessObject>::~SmartPointerForwardReference()'<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up
<br>dateOutputInformationEv[itk::ImageBase<2u>::UpdateOutputInformation()]+0x64):itk<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference<itk::P<br>rocessObject>::operator itk::ProcessObject*() const'
<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up<br>dateOutputInformationEv[itk::ImageBase<2u>::UpdateOutputInformation()]+0x81):itk<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference<itk::P
<br>rocessObject>::~SmartPointerForwardReference()'<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up<br>dateOutputInformationEv[itk::ImageBase<2u>::UpdateOutputInformation()]+0xab):itk
<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference<itk::P<br>rocessObject>::~SmartPointerForwardReference()'<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up
<br>dateOutputInformationEv[itk::ImageBase<2u>::UpdateOutputInformation()]+0xde):itk<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference<itk::P<br>rocessObject>::operator->() const'
<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up<br>dateOutputInformationEv[itk::ImageBase<2u>::UpdateOutputInformation()]+0x119):it<br>kTestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference<itk::
<br>ProcessObject>::~SmartPointerForwardReference()'<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up<br>dateOutputInformationEv[itk::ImageBase<2u>::UpdateOutputInformation()]+0x143):it
<br>kTestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference<itk::</div>
<div>ProcessObject>::~SmartPointerForwardReference()'<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up<br>dateOutputInformationEv[itk::ImageBase<6u>::UpdateOutputInformation()]+0x64):itk
<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference<itk::P<br>rocessObject>::operator itk::ProcessObject*() const'<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up
<br>dateOutputInformationEv[itk::ImageBase<6u>::UpdateOutputInformation()]+0x81):itk<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference<itk::P<br>rocessObject>::~SmartPointerForwardReference()'
<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up<br>dateOutputInformationEv[itk::ImageBase<6u>::UpdateOutputInformation()]+0xab):itk<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference<itk::P
<br>rocessObject>::~SmartPointerForwardReference()'<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up<br>dateOutputInformationEv[itk::ImageBase<6u>::UpdateOutputInformation()]+0xde):itk
<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference<itk::P<br>rocessObject>::operator->() const'<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up<br>
dateOutputInformationEv[itk::ImageBase<6u>::UpdateOutputInformation()]+0x119):it<br>kTestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference<itk::<br>ProcessObject>::~SmartPointerForwardReference()'
<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up<br>dateOutputInformationEv[itk::ImageBase<6u>::UpdateOutputInformation()]+0x143):it<br>kTestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference<itk::
<br>ProcessObject>::~SmartPointerForwardReference()'<br>collect2: ld returned 1 exit status<br>mingw32-make[2]: *** [bin/itkTestDriver.exe] Error 1<br>mingw32-make[1]: *** [Code/IO/CMakeFiles/itkTestDriver.dir/all] Error 2
<br>mingw32-make: *** [all] Error 2<br><br>-- <br>Dário Oliveira </div>