Search found 120 matches

by Uli Schlachter
Thu, 2014-04-17, 13:17
Forum: DCMTK - General
Topic: Separate logger?
Replies: 4
Views: 5736

Re: Separate logger?

Hi, so if I understand this correctly, you have the following situation: Some code logs to the ors.http logger Some code logs to the dcmtk.dcmnet logger There is a FileAppender attached to the ors.http logger There is another FileAppender attached to the root logger Since each logger "gives&quo...
by Uli Schlachter
Mon, 2013-03-25, 10:44
Forum: DCMTK - General
Topic: Possible bug in OFString::copy()
Replies: 3
Views: 4613

Re: Possible bug in OFString::copy()

Again, thank you for the report. This was now fixed in the latest development version. Also, the return value of copyMem() was wrong and some more unit tests were added. For more information, see: http://git.dcmtk.org/web?p=dcmtk.git;a=commitdiff;h=c0d2a3a2e2393ce57c7ca35e39b5b3818697349f;hp=9b64a14...
by Uli Schlachter
Mon, 2013-03-25, 08:24
Forum: DCMTK - General
Topic: DICOM JPEG2000 Encode
Replies: 1
Views: 3367

Re: DICOM JPEG2000 Encode

I am not really sure what you are asking, so please clarify your question if I am not answering it. In DICOM, the Meta-Information-Header is always written in the Little Endian Explicit transfer syntax, so VRs are given explicitely. If the data-set is encoded via the JPEG 2000 transfer syntax, then ...
by Uli Schlachter
Wed, 2013-03-13, 09:32
Forum: DCMTK - General
Topic: single shared library issues with Visual Studio
Replies: 2
Views: 4235

Re: single shared library issues with Visual Studio

To reproduce the problem create a 'VC solution' having a static lib (Win32 Static Lib) and an application project (Win 32 Console). Use any of the default tags (e.g. DCM_PatientID) in the static lib and link the application against the static lib and the dcmtk lib (export lib of the dcmtk.dll). The...
by Uli Schlachter
Mon, 2013-03-11, 15:22
Forum: DCMTK - Installation
Topic: single dcmtk.dll
Replies: 7
Views: 16637

Re: single dcmtk.dll

I added an entry to our internal issue tracker (bug #509). However, I have to say that I don't have much hope for this. My only idea would be to come up with a simple, self-contained test case and submit that as a bug report to the CMake developers and then get told by them that MSC6 is too ancient...
by Uli Schlachter
Mon, 2013-03-11, 15:13
Forum: DCMTK - General
Topic: enforce VR when setting DcmElement value
Replies: 6
Views: 7809

Re: enforce VR when setting DcmElement value

Thanks for this report and sorry for the slow response. We weren't quite sure what to do either and some of the changes caused problems elsewhere. As a bad excuse, let's say that this is due to this post being in a completely unrelated thread. ;-) The checkValue() function used to reject patient nam...
by Uli Schlachter
Mon, 2013-03-11, 12:35
Forum: DCMTK - Installation
Topic: Patch to generate modern DCMTKConfig.cmake file
Replies: 3
Views: 7750

Re: Patch to generate modern DCMTKConfig.cmake file

I tried to review this patch. However, this is not easy. Why do you change all the CMake commands (IF(), SET(), ...) to be lower case? Why do you remove the argument to all ELSE() and ENDIF() commands? Why does TIFF support suddenly depend on libjpeg? What the heck is this supposed to be: MESSAGE(&q...
by Uli Schlachter
Tue, 2013-02-05, 09:22
Forum: DCMTK - Installation
Topic: single dcmtk.dll
Replies: 7
Views: 16637

Re: single dcmtk.dll

You ALL_BUILD output is a little short. Did you compile anything at all? Can you compile individual targets like e.g. dcmdata_obj? Can you compile the toolkit without DLL support? If not, I guess that you need the answer to FAQ #22 . Here is what I do to compile DCMTK as a single DLL with MSVC6: Get...
by Uli Schlachter
Tue, 2013-01-29, 09:09
Forum: DCMTK - Installation
Topic: CMake results different under Windows 7
Replies: 5
Views: 8303

Re: CMake results different under Windows 7

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: Build flags: Id flags: The output was: 0 Doesn't this basically say "compiler not found"? Can you build other software with CMake? I don't think I know enough about CMake internals to k...
by Uli Schlachter
Tue, 2013-01-22, 09:00
Forum: DCMTK - General
Topic: Help Inserting Multi-Valued fields using putAndInsertUint32
Replies: 1
Views: 3186

Re: Help Inserting Multi-Valued fields using putAndInsertUin

This is almost an exact duplicate of viewtopic.php?f=1&t=3660 and the answer will be the same.

Uli
by Uli Schlachter
Tue, 2013-01-22, 08:58
Forum: DCMTK - General
Topic: Help Inserting Multi-Valued fields using putAndInsertFloat32
Replies: 2
Views: 3791

Re: Help Inserting Multi-Valued fields using putAndInsertFlo

result = item_id_1->putAndInsertFloat32( DCM_GraphicData /*(0070,0022)*/, 2.0, 1, OFTrue); This call tries to construct a new element and set its second entry to "2.0". The resulting element should then replace any already-existing entry in the item (=the one from the previous line). This...
by Uli Schlachter
Tue, 2013-01-22, 08:46
Forum: DCMTK - General
Topic: Help Inserting Multi-Valued fields using putAndInsertFloat32
Replies: 2
Views: 3791

Re: Help Inserting Multi-Valued fields using putAndInsertFlo

This is almost an exact duplicate of viewtopic.php?f=1&t=3653 and the answer will be the same.

Uli
by Uli Schlachter
Tue, 2013-01-22, 08:44
Forum: DCMTK - General
Topic: get ScheduledProcedureStepStartDate from DcmDataset
Replies: 2
Views: 3705

Re: get ScheduledProcedureStepStartDate from DcmDataset

Hi Andrea, Since the DCM_ScheduledProcedureStepStartDate tag belongs to a sequence (ScheduledProcedureStepSequence), am I doing something wrong when I try to get its value ? How can I get this tag value ? Yes you are. On the main level of the dataset there is no SPSStartDate and thus it cannot be fo...
by Uli Schlachter
Tue, 2013-01-22, 08:42
Forum: DCMTK - Installation
Topic: CMake results different under Windows 7
Replies: 5
Views: 8303

Re: CMake results different under Windows 7

Hi Rich, 1 Do you have any suggestions of what could be causing the difference (and how to eliminate the problem)? In your CMake build directory, there are two files which can answer these questions: CMakeFiles/CMakeError.log and CMakeFiles/CMakeOutput.log. The first file contains the compiler outpu...
by Uli Schlachter
Tue, 2013-01-15, 13:12
Forum: DCMTK - Installation
Topic: single dcmtk.dll
Replies: 7
Views: 16637

Re: single dcmtk.dll

Oh hey, you are hitting that error in the new code, too. The problem is that DcmSCP has a private undefined copy constructor and assignment operator. However, DcmThreadSCP which inherits from DcmSCP uses the default copy construct and assignment operator and thus tries to call these private undefine...