[Insight-developers] Re: [Insight-users] Fixing bugs for ITK with MinGW

Luis Ibanez luis.ibanez at kitware.com
Tue Sep 4 12:47:56 EDT 2007


Hi Ali,


Can you please try the solution and let us know if it works for you ?


Index: itkDataObject.cxx
===================================================================
RCS file: /cvsroot/Insight/Insight/Code/Common/itkDataObject.cxx,v
retrieving revision 1.55
diff -r1.55 itkDataObject.cxx
26c26
< template class itk::SmartPointerForwardReference<itk::ProcessObject>;
---
 > ITKCommon_EXPORT template class 
itk::SmartPointerForwardReference<itk::ProcessObject>;



   If so, we will try it in the other platforms,


     Thanks


        Luis


BTW, I can see this thread in the archives:
http://www.itk.org/mailman/private/insight-developers/2007-September/thread.html#start


--------------
Ali - wrote:
> 
> 
>  >
>  > # The dash14 MinGW dashboard is actually built with BUILD_SHARED_LIBS 
> set to
>  > # OFF. (that is, static libraries are built on that dashboard)
>  > #
>  > # So any bugs related to shared libs should be irrelevant for this 
> dashboard.
>  > #
>  > # If I can find some time this week, I will try to set up an identical
>  > # dashboard on dash14 that does use BUILD_SHARED_LIBS.
>  > #
>  >
>  > You are completely right, it is connected to BUILD_SHARED_LIBS. 
> Without it
>  > ITK compiles fine, however with it, it does not.
>  >
>  > I submitted a bug to mantis: http://www.itk.org/Bug/view.php?id=5647 
> (It contains
>  > some references to mailing list where the issue is discussed.)
>  >
>  > Ali: there is a known workaround:
>  > http://www.itk.org/pipermail/insight-users/2007-June/022503.html
>  >
>  >
>  > Regards,
>  >
>  > Tomash
> 
> 
> Thanks for clarifying this Tomash. I wish this can be resolved in the 
> official release as soon as possible, this problem has been around for 
> ages while the solution is simple and it has been suggested many times. 
> I don't understand why it does not get resolved quickly. This should 
> encourage people to use mingw for itk instead of visual studio, I found 
> it more efficient to compile itk with mingw.
> 
> PS Does anyone know why this thread is not reflected in the archive?
> 


More information about the Insight-developers mailing list