[Insight-developers] Possible issue with ITK dcmtk and Slicer dcmtk

Williams, Norman K norman-k-williams at uiowa.edu
Mon Nov 19 17:17:40 EST 2012


The game plan is this:


1. Get Slicer building ITK4 as part of its SuperBuild, using
USE_SYSTEM_DCMTK
2. Then take out the DCMTKImageIO stuff in the DWIConvert program, which
is the program I worked on that refactors DicomToNrrdConvertor using DCMTK
instead of GDCM. That program currently includes its own itkDCMTKImageIO
source.

On 11/17/12 4:40 PM, "Bill Lorensen" <bill.lorensen at gmail.com> wrote:

>Maybe we should fix the external cmake for ITKv4. Another option is to
>set the Modules off for DCMTK in Slicers ITKv4's build. I tried that
>and it worked. I'm not sure why we need dcmtk enabled within ITK for a
>slicer build.
>
>On Sat, Nov 17, 2012 at 4:50 PM, Johnson, Hans J <hans-johnson at uiowa.edu>
>wrote:
>> Bill,
>>
>> Inside of slicer you will need to point ITK to use the external DCMTK
>> build.
>>
>> USE_SYSTEM_DCMTK
>>
>> Hans
>>
>>
>> On 11/17/12 10:28 AM, "Bill Lorensen" <bill.lorensen at gmail.com> wrote:
>>
>>>Folks,
>>>
>>>I have not investigated this too much, but here it goes...
>>>
>>>I updated slicer 4 today and itkv4. I'm building Slicer against
>>>today's itkv4 master.
>>>
>>>The EMSegmentCommandLine program is segfaulting when exiting. I tried
>>>it with the --xml argument.
>>>
>>>gdb reports (some symbols are missing because my build is not all debug
>>>
>>>#0  0x0000000000000031 in ?? ()
>>>#1  0x00007fffed103079 in OFListBase::~OFListBase (this=0x7fffed51b930,
>>>    __in_chrg=<value optimized out>)
>>>    at
>>>/home/lorensen/Projects/Slicer4-Superbuild/DCMTK/ofstd/libsrc/oflist.cc:
>>>54
>>>#2  0x00007fffe1980fba in OFList<DcmCodecList*>::~OFList() ()
>>>   from
>>>/home/lorensen/Projects/Slicer4-Superbuild/ITKv4-build/Modules/ThirdPart
>>>y/
>>>DCMTK/ITKDCMTK_ExtProject-build/lib/libdcmdata.so.3
>>>#3  0x00007fffd2649d3d in __cxa_finalize (d=0x7fffe1d0b2c0)
>>>    at cxa_finalize.c:56
>>>#4  0x00007fffe1978f36 in __do_global_dtors_aux ()
>>>   from
>>>/home/lorensen/Projects/Slicer4-Superbuild/ITKv4-build/Modules/ThirdPart
>>>y/
>>>DCMTK/ITKDCMTK_ExtProject-build/lib/libdcmdata.so.3
>>>#5  0x0000000000000000 in ?? ()
>>>
>>>Looks to me like Slicer's Superbuild DCMTK is classing with ITK's
>>>DCMTK. As I said I have not investigated this very much.
>>>
>>>Bill
>>
>>
>>
>> ________________________________
>> 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.
>> ________________________________
>
>
>
>--
>Unpaid intern in BillsBasement at noware dot com



________________________________
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