[Insight-users] gdcmDict error when adding ITKIO to target
libraries
Luis Ibanez
luis.ibanez at kitware.com
Sun Sep 17 10:34:27 EDT 2006
Hi Christina,
Could you try temporarily renaming the GDCM
dictionaries that you have on /usr/local/ ?
It may be the case, that GDCM is still finding
both dictionaries and trying to merge them.
Looking at the dictionaries in
Insight/Utilities/gdcm/Dicts/
The only file that contains a tag 0029|0060 is
SIP.dic. The tag refers to a compression algorithm.
We don't see that error message when using gdcm
in our systems.
---
The other error message : 0041 1050, seems to be
a tag that is exclusive of Papyrus.
Do you have Papyrus installed in your system ?
Or Osirix (which uses Papyrus) ?
If so, maybe their dictionaries are getting merged
with GDCM's.
Please let me us know what you find.
Thanks
Luis
---------------------------
Christina Rossmanith wrote:
> Hi Karthik
>
> no, there is only one ITK installed on my system (in /usr/local). I've tried Luis hint to set the veriable GDCM_DICT_PATH to /usr/local/include/InsightToolkit/gdcm/Dicts (where the data dictionaries live) and that changed the error message to
>
> Error: In /home/cr/Software/ITK/InsightToolkit-2.8.1/Utilities/gdcm/src/gdcmDict.cxx, line 147, function bool gdcm::Dict::AddEntry(const gdcm::DictEntry&)
> Already present:0029|0060
>
> i.e., it's a different element which is reported to be already present. There is a gdcm on my system in /usr/local additionally to the ITK version (before I installed ITK).
>
> I did a grep in /usr/local/include/InsightToolkit/gdcm/Dicts/*dic and found element 0029|0060 only once. Strange...
>
> Should I summarize these lines as a bug report?
>
> Christina Rossmanith
>
>
> -------- Original-Nachricht --------
> Datum: Thu, 14 Sep 2006 10:10:05 -0400
> Von: Karthik Krishnan <Karthik.Krishnan at kitware.com>
> An: Christina Rossmanith <ChrRossmanith at gmx.de>
> Betreff: Re: [Insight-users] gdcmDict error when adding ITKIO to target libraries
>
>
>>Do you also have ITK installed on your system with the installed ITK
>>being a different version from the the binary build you are using below..
>>
>>I remember the dict being picked from the CMAKE_INSTALL_PREFIX if found
>>.. If that's the case, please log a bug report : www.itk.org/Bug You
>>can assign it to me.
>>
>>Thanks
>>-karthik
>>
>>Christina Rossmanith wrote:
>>
>>
>>>Hi,
>>>
>>>is anybody else getting the following error message when calling an
>>
>>application which is linked against ITKIO?
>>
>>>Error: In
>>
>>/home/cr/Software/ITK/InsightToolkit-2.8.1/Utilities/gdcm/src/gdcmDict.cxx, line 147, function bool gdcm::Dict::AddEntry(const
>>gdcm::DictEntry&)
>>
>>>Already present:0041|1050
>>>Error: In
>>
>>/home/cr/Software/ITK/InsightToolkit-2.8.1/Utilities/gdcm/src/gdcmDict.cxx, line 147, function bool gdcm::Dict::AddEntry(const
>>gdcm::DictEntry&)
>>
>>>Already present:0040|a992
>>>
>>>
>>>My test program just consist of these few lines and does (not yet) call
>>
>>any DICOM related stuff...
>>
>>>#include <iostream>
>>>
>>>int main ()
>>>{
>>>exit (EXIT_SUCCESS);
>>>}
>>>
>>>Thank you
>>>Christina Rossmanith
>>>
>>>
>
>
More information about the Insight-users
mailing list