[Insight-developers] Explicit instantiation linking issues on mac platform

Brad King brad.king at kitware.com
Thu Sep 7 09:30:35 EDT 2006


Hans Johnson wrote:
>>>>> IF(ITK_EXPLICIT_INSTANTIATION)
>>>>>   TARGET_LINK_LIBRARIES (ITKCommon ITKCommonExplicit)
>>>>> ENDIF(ITK_EXPLICIT_INSTANTIATION)
>> Do you get the error when compiling ITK or an external program using ITK?
> The problems occur in compiling the Testing and Examples directories under
> ITK.

The problem is that symbols in ITKCommonExplicit need symbols in
ITKCommon.  The source files for ITKCommonExplicit should just be added
to the ITKCommon library directly.

-Brad


More information about the Insight-developers mailing list