[Insight-users] CMake error with WrapITK

David Welch david.m.welch at gmail.com
Sat Mar 3 19:14:43 EST 2012


Hi David, 

I'm running into the same error and I'm stuck.  Did you ever get a response to this issue?

Cheers,
David Welch
david.m.welch at gmail.com

> I'm trying to build ITKv4 with USE_WRAP_ITK on for use with Python.  When I run CMake I get the following error message:
> 
> CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
>   "ITKHighDimensionalOptimizersSwig" of type UTILITY
>     depends on "ITKHighDimensionalMetricsSwig" (strong)
>   "ITKHighDimensionalMetricsSwig" of type UTILITY
>     depends on "ITKHighDimensionalOptimizersSwig" (strong)
> At least one of these targets is not a STATIC_LIBRARY.  Cyclic dependencies are allowed only among static libraries.
> 
> 
> Any help would be appreciated.
> 
> Thanks,
> Dave
> 
> David T. Chen, PhD                      [MSC contractor]
> mailto:dchen at mail.nih.gov               http://erie.nlm.nih.gov/~dave
> phone:301.435.3264                      iphone:301.524.3174
> Office of High Performance Computing and Communications
> National Library of Medicine
> 


More information about the Insight-users mailing list