Search found 6 matches

by liusunping
Tue, 2020-06-30, 09:34
Forum: DCMTK - General
Topic: android
Replies: 6
Views: 2740

Re: android

When enabling the debug output, you should something like the following on the logger: D: DcmDataDictionary: Loading file: /usr/local/share/dcmtk/dicom.dic Also in your application, you should have something like this check (copied from dcmdump.cc): if (!dcmDataDict.isDictionaryLoaded()) { OFLOG_WA...
by liusunping
Tue, 2020-06-30, 09:28
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 65223

Re: Error while building DCMTK lib for ANDROID

Turns out there is no good way to workaround this issue. The best way is probably to put #undef pw_gecos in line 35 of ofstd/include/dcmtk/ofstd/ofpwd.h, but this would of course have the side effect that everyone including this file loses the definition. While this would fix the issue at hand, it ...
by liusunping
Mon, 2020-06-29, 10:54
Forum: DCMTK - Installation
Topic: Error while building DCMTK lib for ANDROID
Replies: 51
Views: 65223

Re: Error while building DCMTK lib for ANDROID

Turns out there is no good way to workaround this issue. The best way is probably to put #undef pw_gecos in line 35 of ofstd/include/dcmtk/ofstd/ofpwd.h, but this would of course have the side effect that everyone including this file loses the definition. While this would fix the issue at hand, it ...
by liusunping
Wed, 2020-06-24, 04:31
Forum: DCMTK - General
Topic: android
Replies: 6
Views: 2740

Re: android

EIS in dicomimage object_ No data dictionary Maybe, the answer is too obvious: the error says that "no data dictionary" was loaded. Windows uses a built-in data dictionary and iOS apparently found the "dicom.dic" file in the default path. I compiled it on WSL (Windows Ubuntu). T...
by liusunping
Wed, 2020-06-24, 04:30
Forum: DCMTK - General
Topic: android
Replies: 6
Views: 2740

Re: android

I compiled it on WSL (Windows Ubuntu). The package is AndroidStudio on windows. I put dicom.dic Copy it to the directory /storage/emulated/0/Download/ of my phone. When I pack it with AndroidStudio,i change the osconfig.h file /usr/local/share/dcmtk/dicom.dic as #define DCM_DICT_DEFAULT_PATH "/...
by liusunping
Mon, 2020-06-22, 17:11
Forum: DCMTK - General
Topic: android
Replies: 6
Views: 2740

android

When I use DCMTK to parse DCM files, dcmmetainfo can read relevant information such as devices, but in building dicomimage, getstatus is EIS in dicomimage object_ No data dictionary, but this DCM file can be read in windows and IOS . Here is my source code. Can you help me see the cause of the probl...