[Debian-med-packaging] Bug#804569: dicomscope: build-depends on libdcmtk2-dev which is no longer built

Gert Wollny gw.fossdev at gmail.com
Mon Nov 9 19:54:51 UTC 2015


On Mon, 2015-11-09 at 20:29 +0100, Andreas Tille wrote:
> ...
> /usr/include/dcmtk/dcmsr/dsrdoc.h:649:25: note:   candidate expects 2
> arguments, 0 provided
> /build/dicomscope-3.6.0/interface/libsrc/DSRDocument.cpp: In function
> '_jstring* Java_J2Ci_jDSRDocument_getAccessionNumber(JNIEnv*,
> jobject)':
> /build/dicomscope-3.6.0/interface/libsrc/DSRDocument.cpp:734:50:
> error: no matching function for call to
> 'DSRDocument::getAccessionNumber()'
>      const char *string = doc->getAccessionNumber();

Seems like this should be now: 


OFString ofstring; 
OFCondition cond = doc->getAccessionNumber(ofstring, 0); 

if (cond.bad() ) {
	< return error condition > ??!! 
}
const char * string = ofstring.c_str(); 


I'll have a look later what should be done in case of "cond.bad()". 

Best 
Gert 



More information about the Debian-med-packaging mailing list