Search found 28 matches

by zappy1
Wed, 2013-10-30, 17:58
Forum: DCMTK - General
Topic: log4cplus linker error
Replies: 7
Views: 8642

Re: log4cplus linker error

OK, I hope that should cover most of my basic compilation needs for the moment.
Thank you very much for your time & answers.

Z.B.
by zappy1
Wed, 2013-10-30, 13:41
Forum: DCMTK - General
Topic: log4cplus linker error
Replies: 7
Views: 8642

Re: log4cplus linker error

Bad news: another linking error popped up... OK, the error got solved! I made several changes in the order (say educated guesses) and finally I was able to compile cleanly with: g++ project.cxx -DHAVE_CONFIG_H -Wno-deprecated -L/usr/local/lib -mwindows -lole32 -luuid -lcomctl32 -static -lfltk -I/us...
by zappy1
Wed, 2013-10-30, 13:26
Forum: DCMTK - General
Topic: log4cplus linker error
Replies: 7
Views: 8642

Re: log4cplus linker error

Thank you for your answer... there is no need to link against log4cplus since the oflog library in DCMTK is an integrated version of it and contains everything you need. Yes, I imagined that after looking at the sources, but it was worth a try. However, I guess you get the same messages when you lea...
by zappy1
Wed, 2013-10-30, 12:15
Forum: DCMTK - General
Topic: log4cplus linker error
Replies: 7
Views: 8642

log4cplus linker error

Hi all, I apologize in advance if I posted in a wrong place (I still hope not). For reasons not depending on my will, I have to use dcmtk-3.6.0 in a 32 bit WindowsXP environment :( with MSYS-1.0.11 and mingw (latest stable version, 2013072200 or so). The good news is I won't have to replicate the wo...
by zappy1
Mon, 2008-12-15, 15:37
Forum: DCMTK - General
Topic: Creating MammographyCADSR file
Replies: 36
Views: 45407

StudyDate and StudyTime are type 2 elements, i. e. they have to be present in the dataset but their value might be empty. Therefore, the API only provides "get" but no "set" methods. After various tests, it turned out that StudyDate and StudyTime are not the relevant missing tag...
by zappy1
Wed, 2008-12-03, 10:35
Forum: DCMTK - General
Topic: Create DICOMDIR from source
Replies: 6
Views: 6732

So it looks like the library command doesn't like the full path in the name of the files. This is because the DICOM standard does not like absolute paths in the DICOMDIR :-) However, you could use the second parameter of addDicomFile() and checkDicomFile() in order to specify the input directory (s...
by zappy1
Tue, 2008-12-02, 16:31
Forum: DCMTK - General
Topic: Create DICOMDIR from source
Replies: 6
Views: 6732

You should use DicomDirInterface::setLogStream () for this purpose. OK, I made a slight improvement to the above code which now reads DicomDirInterface dicomdir; OFCondition status = dicomdir.appendToDicomDir(DicomDirInterface::AP_Default,ddir); if (status.good()) { dicomdir.setLogStream (&(OFC...
by zappy1
Tue, 2008-12-02, 13:13
Forum: DCMTK - General
Topic: Create DICOMDIR from source
Replies: 6
Views: 6732

Jörg Riesmeier wrote:What does the log stream show in verbose/debug mode?
I don't have a special log stream, the messages are only those already mentioned, from the shell window which displays also the output of "cerr".
How can I get more messages?
by zappy1
Mon, 2008-12-01, 18:57
Forum: DCMTK - General
Topic: Create DICOMDIR from source
Replies: 6
Views: 6732

Hello all, (Long time, no C. :-)) I'm still working on the creation of a valid CAD SR file. I want to take into account the case of studies with DICOMDIR; of course, I have to add the newly created CAD SR in the existing DICOMDIR file. Up till now, the situation is rather strange: I can generate wit...
by zappy1
Tue, 2008-09-09, 09:38
Forum: DCMTK - General
Topic: Creating MammographyCADSR file
Replies: 36
Views: 45407

[ I would prefer not to touch any part of dcmtk package by adding methods to the class, but to insert the StudyInstanceUID with a DSRDocument::write(...). [...] Or there is another simpler way to do it? Actually, there is a simpler way: it's enough to add a single line in the code, after the creati...
by zappy1
Mon, 2008-09-08, 19:18
Forum: DCMTK - General
Topic: Creating MammographyCADSR file
Replies: 36
Views: 45407

StudyDate and StudyTime are type 2 elements, i. e. they have to be present in the dataset but their value might be empty. Therefore, the API only provides "get" but no "set" methods. Please keep in mind that the module "dcmsr" was originally developed to add SR support...
by zappy1
Mon, 2008-09-08, 11:20
Forum: DCMTK - General
Topic: Creating MammographyCADSR file
Replies: 36
Views: 45407

Hello again to all! I hope you enjoyed nice summer holidays, now back to work... The exact definition of the different Graphic Types (like CIRCLE, ELLIPSE, etc.) can be found in part 3 of the DICOM standard (see section C.18.6.1.2). This is the implicit answer to my first (and essentialy easy) quest...
by zappy1
Mon, 2008-07-21, 15:23
Forum: DCMTK - General
Topic: Creating MammographyCADSR file
Replies: 36
Views: 45407

Hello again, Basically, there are two ways of adding and filling an SCOORD content item: doc->getTree().addContentItem(DSRTypes::RT_hasProperties, DSRTypes::VT_SCoord); doc->getTree().getCurrentContentItem().setConceptName(DSRCodedEntryValue("1234", OFFIS_CODING_SCHEME_DESIGNATOR, "SC...
by zappy1
Thu, 2008-07-17, 16:53
Forum: DCMTK - General
Topic: Creating MammographyCADSR file
Replies: 36
Views: 45407

I can post the minimal code if there are persons interested in it I guess this would be interesting to many people ... and I personally would also like to know what the reason for your original problem was :D I would like that, too. :-) For some other time, yet... Anyway, this is the (almost) minim...
by zappy1
Thu, 2008-07-17, 14:45
Forum: DCMTK - General
Topic: Creating MammographyCADSR file
Replies: 36
Views: 45407

General comment: the "dcmsr" module only checks the IOD constraints from part 3 (e.g. table A.35.5-2) and not (yet) the template constraints from part 16 [...]. It finally worked (but I still don't think the issue was related to the version of DCMTK I used). There is only one minor differ...