Some function of dicomtk lib work wrong in arm?

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Zhou_jianzhong
Posts: 9
Joined: Fri, 2009-06-12, 01:56

Some function of dicomtk lib work wrong in arm?

#1 Post by Zhou_jianzhong »

DcmTag tag;
tag=DCM_PatientsName;
printf("evr of DCM_PatientsName is %d \n",tag.getEVR());
tag=DCM_PixelData;
printf("evr of DCM_PixelData is %d \n",tag.getEVR());

the result is :
evr of DCM_PatientsName is 39(EVR_UNKNOWN)
evr of DCM_PixelData is 39(EVR_UNKNOWN)

Zhou_jianzhong
Posts: 9
Joined: Fri, 2009-06-12, 01:56

data dictionary is not loaded

#2 Post by Zhou_jianzhong »

in my progam ,data dictionary is not loaded.It may cause the above errors.(in x86, it is right)
if (!dcmDataDict.isDictionaryLoaded())
{
ofConsole.lockCerr() << "Warning: no data dictionary loaded, "
<< "check environment variable: "
<< DCM_DICT_ENVIRONMENT_VARIABLE << endl;
ofConsole.unlockCerr();
}

results:
Warning: no data dictionary loaded

why data dictionary is not loaded?

Zhou_jianzhong
Posts: 9
Joined: Fri, 2009-06-12, 01:56

the problem is solved

#3 Post by Zhou_jianzhong »

the problem is solved. I forget to copy dicom.dic to arm.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest