[Insight-developers] Module_ITKDCMTK does not build with clang compiler

Williams, Norman K norman-k-williams at uiowa.edu
Mon Jan 14 10:20:46 EST 2013


This is a problem I found and reported to the DCMTK developers, and a fix
has been added to DCMTK. To take advantage of this fix, we'll have to
either add a patch stage to the existing DCMTK version that ITK checks
out, or bring forward ITK to a newer DCMTK version.

Some in the ITK developer community are understandably leery of changing
revisions. Likewise, BRAINSStandAlone (and by extension Slicer) both are
very conservative about pulling in new versions of ITK.


My post is here:
http://forum.dcmtk.org/viewtopic.php?f=3&t=3628

Fix is here:
http://git.dcmtk.org/web?p=dcmtk.git;a=commitdiff;h=aad82710978f74eca1605d5
eda66f6cc05afffb8


--
Kent Williams norman-k-williams at uiowa.edu






On 1/13/13 9:17 AM, "Johnson, Hans J" <hans-johnson at uiowa.edu> wrote:

>
>
>Module_ITKDCMTK
>
>
>/Users/johnsonhj/Dashboard/src/ITK-clang31/Modules/ThirdParty/DCMTK/ITKDCM
>TK_ExtProject/dcmnet/libsrc/dwrap.c:35:21: error: use of undeclared
>identifier 'LOG_WARNING'
>int deny_severity = LOG_WARNING;
>                    ^
>/Users/johnsonhj/Dashboard/src/ITK-clang31/Modules/ThirdParty/DCMTK/ITKDCM
>TK_ExtProject/dcmnet/libsrc/dwrap.c:36:22: error: use of undeclared
>identifier 'LOG_INFO'
>int allow_severity = LOG_INFO;
>                     ^
>2 errors generated.
>make[5]: *** [dcmnet/libsrc/CMakeFiles/dcmnet.dir/dwrap.c.o] Error 1
>make[4]: *** [dcmnet/libsrc/CMakeFiles/dcmnet.dir/all] Error 2
>make[3]: *** [all] Error 2
>make[2]: ***
>[Modules/ThirdParty/DCMTK/ITKDCMTK_ExtProject-prefix/src/ITKDCMTK_ExtProje
>ct-stamp/ITKDCMTK_ExtProject-build] Error 2
>make[1]: ***
>[Modules/ThirdParty/DCMTK/CMakeFiles/ITKDCMTK_ExtProject.dir/all] Error 2
>make: *** [all] Error 2
>
>
>
>Fix may be as simple as updating DCMTK to new version.  DCMTK recently
>had changes for Slicer compatibility that will likely benefit ITK as well.
>
>
>Hans
>
>



________________________________
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.
________________________________


More information about the Insight-developers mailing list