<br><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 3:14 PM, Williams, Norman K <span dir="ltr"><<a href="mailto:norman-k-williams@uiowa.edu" target="_blank">norman-k-williams@uiowa.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm giving up for the moment on getting DCMTK ImageIO working on Windows<br>
with Visual Studios. The unix-like targets should work fine but there is a<br>
hideous thicket of configuration problems that the Visual Studio build<br>
system introduces, that I intend to either return to eventually or leave<br>
to someone who thinks they can resolve them.<br>
<br>
What I want to do now is this: If the compiler is MSVC, then ITKDCMTK and<br>
ITKIODCMTK modules are turned off by default. If the user turns them on,<br>
then only for MSVC require ITK_USE_SYSTEM_DCMTK to be On.<br>
<br>
To enforce that requirement for ITK_USE_SYSTEM_DCMTK I can add some logic<br>
to Modules/ThirdParty/DCMTK/itk-module-init.cmake.<br>
<br>
What I don't understand is where and how modules like<br>
Modules/Bridge/VtkGlue are forced to default to OFF.<br>
<br></blockquote><div> </div><div>>> Checkout the usage of "EXCLUDE_FROM_ALL" in itk-module.cmake of those modules. </div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If anyone is really ambitious and is a Visual Studio whiz, they can take a<br>
look at <a href="http://review.source.kitware.com/#/c/7830/" target="_blank">http://review.source.kitware.com/#/c/7830/</a><br>
<br>
Brad King was extremely helpful with getting things working under OSX and<br>
Linux and got most of the way there with Windows/Visual Studio. The<br>
problem with Visual Studio is that apparently, once DCMTK gets built as an<br>
external project, all the programs that link to the DCMTK libraries fail<br>
because the DCMTK libraries found depend on the wrong versions of Visual<br>
Studio system libraries.<br>
<br>
--<br>
Kent Williams <a href="mailto:norman-k-williams@uiowa.edu">norman-k-williams@uiowa.edu</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
________________________________<br>
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.<br>
________________________________<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://kitware.com/products/protraining.php" target="_blank">http://kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-developers" target="_blank">http://www.itk.org/mailman/listinfo/insight-developers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div><div><br></div>---------------------------------------------<br><b>Xiaoxiao Liu</b>, Ph.D.<div><div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">R & D Engineer</span></font></div>
<div><div><a href="http://www.kitware.com/" target="_blank">Kitware Inc</a>.</div></div><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Clifton Park, NY</span><div><div>Phone: (518) 881-4924 or <span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">(518) 371-3971 x124</span></div>
<div><font face="Verdana, Arial, Helvetica, sans-serif"><span style="line-height:31px;font-size:x-small"><br></span></font></div></div></div></div></div><br>