[Insight-developers] SmartPointerForwardReference Compile error with mingw

Brad King brad.king at kitware.com
Fri Aug 17 10:06:21 EDT 2007


Luis Ibanez wrote:
> 
> 
> Does anybody sees a reason why the
> 
>           itkSmartPointerForwardReference.h
> 
> is not including its corresponding
> 
>           itkSmartPointerForwardReference.txx
> 
> at the end of the file ?
> 
> 
> This lack of including the .txx from the .h
> seems to be the reason for the following
> build problem in MinGW reported in the users
> list:
> 
> http://www.itk.org/pipermail/insight-users/2007-June/022503.html
> 
> 
> 
> If there are no objections I will add the include of the .txx
> file at the end of the itkSmartPointerForwardReference.h file.

I think it was for some interaction between ProcessObject and
DataObject.  There is an explicit instantiation of
SmartPointerForwardReference inside itkDataObject.cxx, but it is not
dllexport-ed.

-Brad


More information about the Insight-developers mailing list