[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ITP:dcmtk looking for sponsor



* Pablo Sau <psau@cadpet.es> [041106 09:41]:

> Thanks for your quick response but before changing anything I
> want to point out two things:
> First, the dcmtk applications work(really!) with the   dicom.dic in
> /usr/lib.

Hi Pablo, 

that's because the dcmtk tools are using the dicom.dic copy from your 
local build directory. You can check that with strace(1) command:

$ dcm2pnm file.dcm >/dev/null 
dcm2pnm: warning: no data dictionary loaded, check environment variable: DCMDICTPATH
ERROR: can't load data dictionary !
$dcmtk: dcm2pnm v3.5.3 2004-05-27 $

dcm2pnm: Convert DICOM images to PGM/PPM, PNG, TIFF or BMP error: No data dictionary

$ strace -e trace=file dcm2pnm file.dcm  2>&1 >/dev/null | grep dicom\.dic
access("/home/pablo/debian/dcmtk-3.5.3/debian/dcmtk/usr/lib/dicom.dic", F_OK) = -1 ENOENT (No such file or directory)

Best regards - Juergen

-- 
GPG A997BA7A | 87FC DA31 5F00 C885 0DC3  E28F BD0D 4B33 A997 BA7A

Attachment: signature.asc
Description: Digital signature


Reply to: