I'm giving up for the moment on getting DCMTK ImageIO working on Windows
with Visual Studios. The unix-like targets should work fine but there is a
hideous thicket of configuration problems that the Visual Studio build
system introduces, that I intend to either return to eventually or leave
to someone who thinks they can resolve them.

What I want to do now is this: If the compiler is MSVC, then ITKDCMTK and
ITKIODCMTK modules are turned off by default.  If the user turns them on,
then only for MSVC require ITK_USE_SYSTEM_DCMTK to be On.

To enforce that requirement for ITK_USE_SYSTEM_DCMTK I can add some logic
to Modules/ThirdParty/DCMTK/itk-module-init.cmake.

What I don't understand is where and how modules like
Modules/Bridge/VtkGlue are forced to default to OFF.

If anyone is really ambitious and is a Visual Studio whiz, they can take a
look at http://review.source.kitware.com/#/c/7830/

Brad King was extremely helpful with getting things working under OSX and
Linux and got most of the way there with Windows/Visual Studio.  The
problem with Visual Studio is that apparently, once DCMTK gets built as an
external project, all the programs that link to the DCMTK libraries fail
because the DCMTK libraries found depend on the wrong versions of Visual
Studio system libraries.

--
Kent Williams [email protected]






________________________________
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.
________________________________
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers

Reply via email to