[Insight-users] ITK + MinGW + windows

Dário Oliveira dariodisk at gmail.com
Thu Aug 16 14:26:06 EDT 2007


Hi Tomás,

thank you very much, it solved my issue. I'm really not familiar with the
dashboard thing and I don't know what should I do with the information
available there. Probably this problem will be solved in the next ITK
release, but anyway, my program is compiling now, so thank you!


2007/8/16, Tomáš Kazmar <Tomash.Kazmar at seznam.cz>:
>
> Hi Dario,
>
> back in june I had to solve exactly the same problem, if the situation
> in ITK code have not changed since than you can find a temporary solution
> in the following post:
>
> http://www.itk.org/pipermail/insight-users/2007-June/022503.html
>
> Regards,
>
> Tomas
>
> # ------------ Původní zpráva ------------
> # Od: Luis Ibanez <luis.ibanez at kitware.com>
> # Předmět: Re: [Insight-users] ITK + MinGW + windows
> # Datum: 16.8.2007 00:14:58
> # ----------------------------------------
> # 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
> # >
> # >
> #
> #
> #
>



-- 
Dário Oliveira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070816/c73331d7/attachment-0001.html


More information about the Insight-users mailing list