<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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:<div><br></div><div><div>CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):</div><div> "ITKHighDimensionalOptimizersSwig" of type UTILITY</div><div> depends on "ITKHighDimensionalMetricsSwig" (strong)</div><div> "ITKHighDimensionalMetricsSwig" of type UTILITY</div><div> depends on "ITKHighDimensionalOptimizersSwig" (strong)</div><div>At least one of these targets is not a STATIC_LIBRARY. Cyclic dependencies are allowed only among static libraries.</div><div><br></div><div><br></div><div>Any help would be appreciated.</div><div><br></div><div>Thanks,</div><div>Dave</div><div><br></div><div>
<span class="Apple-style-span" style="font-size: 16px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 12px; ">David T. Chen, PhD [MSC contractor]</span></font></div><div><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 12px; "><a href="mailto:dchen@mail.nih.gov">mailto:dchen@mail.nih.gov</a> <a href="http://erie.nlm.nih.gov/~dave">http://erie.nlm.nih.gov/~dave</a></span></font></div><div><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 12px; ">phone:301.435.3264 iphone:301.524.3174</span></font></div><div><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 12px; ">Office of High Performance Computing and Communications</span></font></div><div><font class="Apple-style-span" face="Monaco" size="3"><span class="Apple-style-span" style="font-size: 12px; ">National Library of Medicine</span></font></div></div></div></span></div></span>
</div>
<br></div></body></html>