<div>Hi Friends,</div>
<div>&nbsp;</div>
<div>I&#39;m trying to compile ITK using MinGW/Win32. I&#39;ve tried some different releases of ITK, and&nbsp;in all of them&nbsp;I get the same error.&nbsp;Does anyone passed trough the same issue?</div>
<div>&nbsp;</div>
<div>Thank you all,&nbsp;</div>
<div>the error is the folowing:&nbsp;<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&lt;itk::Image&lt;unsigned char, 2u&gt; &gt;::W<br>rite()]+0x12c7):itkTestDriver.cxx: undefined reference to `itk::SmartPointerForw<br>ardReference&lt;itk::ProcessObject&gt;::operator itk::ProcessObject*() const&#39;
<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS<br>_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter&lt;itk::Image&lt;unsigned char, 2u&gt; &gt;::W<br>rite()]+0x12f3):itkTestDriver.cxx: undefined reference to `itk::SmartPointerForw
<br>ardReference&lt;itk::ProcessObject&gt;::~SmartPointerForwardReference()&#39;<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS<br>_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter&lt;itk::Image&lt;unsigned char, 2u&gt; &gt;::W
<br>rite()]+0x132f):itkTestDriver.cxx: undefined reference to `itk::SmartPointerForw<br>ardReference&lt;itk::ProcessObject&gt;::~SmartPointerForwardReference()&#39;<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS
<br>_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter&lt;itk::Image&lt;unsigned char, 2u&gt; &gt;::W<br>rite()]+0x1371):itkTestDriver.cxx: undefined reference to `itk::SmartPointerForw<br>ardReference&lt;itk::ProcessObject&gt;::operator-&gt;() const&#39;
<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS<br>_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter&lt;itk::Image&lt;unsigned char, 2u&gt; &gt;::W<br>rite()]+0x13a3):itkTestDriver.cxx: undefined reference to `itk::SmartPointerForw
<br>ardReference&lt;itk::ProcessObject&gt;::~SmartPointerForwardReference()&#39;<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk15ImageFileWriterINS<br>_5ImageIhLj2EEEE5WriteEv[itk::ImageFileWriter&lt;itk::Image&lt;unsigned char, 2u&gt; &gt;::W
<br>rite()]+0x13df):itkTestDriver.cxx: undefined reference to `itk::SmartPointerForw<br>ardReference&lt;itk::ProcessObject&gt;::~SmartPointerForwardReference()&#39;<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up
<br>dateOutputInformationEv[itk::ImageBase&lt;2u&gt;::UpdateOutputInformation()]+0x64):itk<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference&lt;itk::P<br>rocessObject&gt;::operator itk::ProcessObject*() const&#39;
<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up<br>dateOutputInformationEv[itk::ImageBase&lt;2u&gt;::UpdateOutputInformation()]+0x81):itk<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference&lt;itk::P
<br>rocessObject&gt;::~SmartPointerForwardReference()&#39;<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up<br>dateOutputInformationEv[itk::ImageBase&lt;2u&gt;::UpdateOutputInformation()]+0xab):itk
<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference&lt;itk::P<br>rocessObject&gt;::~SmartPointerForwardReference()&#39;<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up
<br>dateOutputInformationEv[itk::ImageBase&lt;2u&gt;::UpdateOutputInformation()]+0xde):itk<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference&lt;itk::P<br>rocessObject&gt;::operator-&gt;() const&#39;
<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up<br>dateOutputInformationEv[itk::ImageBase&lt;2u&gt;::UpdateOutputInformation()]+0x119):it<br>kTestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference&lt;itk::
<br>ProcessObject&gt;::~SmartPointerForwardReference()&#39;<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj2EE23Up<br>dateOutputInformationEv[itk::ImageBase&lt;2u&gt;::UpdateOutputInformation()]+0x143):it
<br>kTestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference&lt;itk::</div>
<div>ProcessObject&gt;::~SmartPointerForwardReference()&#39;<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up<br>dateOutputInformationEv[itk::ImageBase&lt;6u&gt;::UpdateOutputInformation()]+0x64):itk
<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference&lt;itk::P<br>rocessObject&gt;::operator itk::ProcessObject*() const&#39;<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up
<br>dateOutputInformationEv[itk::ImageBase&lt;6u&gt;::UpdateOutputInformation()]+0x81):itk<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference&lt;itk::P<br>rocessObject&gt;::~SmartPointerForwardReference()&#39;
<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up<br>dateOutputInformationEv[itk::ImageBase&lt;6u&gt;::UpdateOutputInformation()]+0xab):itk<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference&lt;itk::P
<br>rocessObject&gt;::~SmartPointerForwardReference()&#39;<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up<br>dateOutputInformationEv[itk::ImageBase&lt;6u&gt;::UpdateOutputInformation()]+0xde):itk
<br>TestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference&lt;itk::P<br>rocessObject&gt;::operator-&gt;() const&#39;<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up<br>
dateOutputInformationEv[itk::ImageBase&lt;6u&gt;::UpdateOutputInformation()]+0x119):it<br>kTestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference&lt;itk::<br>ProcessObject&gt;::~SmartPointerForwardReference()&#39;
<br>CMakeFiles/itkTestDriver.dir/itkTestDriver.obj(.text$_ZN3itk9ImageBaseILj6EE23Up<br>dateOutputInformationEv[itk::ImageBase&lt;6u&gt;::UpdateOutputInformation()]+0x143):it<br>kTestDriver.cxx: undefined reference to `itk::SmartPointerForwardReference&lt;itk::
<br>ProcessObject&gt;::~SmartPointerForwardReference()&#39;<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>