[Insight-users] ITK + MinGW + windows

Luis Ibanez luis.ibanez at kitware.com
Wed Aug 15 18:14:39 EDT 2007


Hi Dario,

We have Nightly build of ITK in MinGW posting to the Dashboard.

http://www.itk.org/Testing/Dashboard/20070815-0100-Nightly/Dashboard.html

Please look at:

                    dash14.­kitware    Win32-mingw

You may find useful to look at the content of the CTest script used
to configure this nightly submission:

http://www.itk.org/Testing/Sites/dash14.kitware/Win32-mingw/20070815-0100-Nightly/Notes.html


Regards,


      Luis


===================================
On 8/15/07, Dário Oliveira <dariodisk at gmail.com> wrote:
>
> 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
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070815/9656898e/attachment-0001.htm


More information about the Insight-users mailing list