<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">How are you "finding" and "using" ITK in the CMake code? Are you using ITK via components?<div><br></div><div>Brad</div><div><br><div><div>On Jul 23, 2014, at 11:23 AM, Williams, Norman K <<a href="mailto:norman-k-williams@uiowa.edu">norman-k-williams@uiowa.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;">
<div>We have a bunch of big Cmake build systems that until very recently (I noticed it yesterday) were working fine. Now we get link errors like this:</div>
<div><br>
</div>
<div>
<div>  "itk::BMPImageIOFactoryRegister__Private()", referenced from:</div>
<div>      itk::(anonymous namespace)::ImageIOFactoryRegisterRegisterList in libmaxcurvatureLib.a(maxcurvature.cxx.o)</div>
<div>  "itk::GE4ImageIOFactoryRegister__Private()", referenced from:</div>
<div>      itk::(anonymous namespace)::ImageIOFactoryRegisterRegisterList in libmaxcurvatureLib.a(maxcurvature.cxx.o)</div>
</div>
<div><br>
</div>
<div>When I  go looking for these symbols,  I see them where you’d expect them — libITKBMPIO-4.6.a etc.</div>
<div><br>
</div>
<div>The problem seems to be that the IO libraries are being LEFT OUT of the ITK_LIBRARIES Cmake variable.</div>
<div><br>
</div>
<div>We use a pretty recent version of ITK:</div>
<div>commit 06d5bfec67805bfadb5dc344b08ab554381592c6</div>
<div>Merge: b960bce c1bcfb7</div>
<div>Author: Matt McCormick <<a href="mailto:matt.mccormick@kitware.com">matt.mccormick@kitware.com</a>></div>
<div>Date:   Tue Jul 15 16:05:22 2014 -0400</div>
<div>o</div>
<div>    Merge topic 'FixThresholdMaxCCWarning'</div>
<div>    </div>
<div>    c1bcfb73 COMP: Fix implicit conversion warnings</div>
<div> </div>
<br>
<br>
<hr>
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any
 retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
<hr>
</div>

_______________________________________________<br>Powered by <a href="http://www.kitware.com">www.kitware.com</a><br><br>Visit other Kitware open-source projects at<br><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>http://kitware.com/products/protraining.php<br><br>Please keep messages on-topic and check the ITK FAQ at:<br>http://www.itk.org/Wiki/ITK_FAQ<br><br>Follow this link to subscribe/unsubscribe:<br>http://public.kitware.com/mailman/listinfo/insight-developers<br></blockquote></div><br></div></body></html>