Search found 318 matches

by Jan Schlamelcher
Wed, 2015-05-27, 09:46
Forum: DCMTK - Installation
Topic: MAC OS denies permission to DCMTK to mkdir in /usr
Replies: 7
Views: 11937

Re: MAC OS denies permission to DCMTK to mkdir in /usr

I'm not sure why it is not working, but perhaps simply try building with CMake instead, our nightly builds show that at least this is working. Alternatively, as already mentioned, try changing the install destination.
by Jan Schlamelcher
Tue, 2015-05-26, 09:38
Forum: DCMTK - Installation
Topic: MAC OS denies permission to DCMTK to mkdir in /usr
Replies: 7
Views: 11937

Re: MAC OS denies permission to DCMTK to mkdir in /usr

Perhaps try to change the install destination and then copy the results to where you need them. Alternatively run make as a privileged process.
by Jan Schlamelcher
Mon, 2015-05-11, 09:16
Forum: DCMTK - General
Topic: Why ofstdinc.h should not be protected against mult-include?
Replies: 1
Views: 2922

Re: Why ofstdinc.h should not be protected against mult-incl

ofstdinc.h works a bit special: you define some specific macros like "INCLUDE_CFLOAT" and ofstdinc.h includes the matching file for you (either <clfoat> or <float.h>). As different header files may use ofstdinc.h to include a different or the same set of files, multiple inclusion of ofstdi...
by Jan Schlamelcher
Tue, 2015-04-21, 08:21
Forum: DCMTK - General
Topic: Regarding OFString conversion
Replies: 9
Views: 9901

Re: Regarding OFString conversion

Yes, sorry, i've been quite busy the last week. My plan is to test it on our nightly build Windows host using VC2010, but with the most recent snapshot instead of dcmtk-3.6.1_20131114. I'll then either be able to reproduce the error or would tell you to also move to the most recent snapshot (which y...
by Jan Schlamelcher
Mon, 2015-04-20, 14:04
Forum: DCMTK - Installation
Topic: Building DCMTK for Android
Replies: 7
Views: 15082

Re: Building DCMTK for Android

What is the actual error? The changelog in the android.toolchain.cmake is from the original authors. We modified it afterwards, but did not update the changelog, because we use git commit messages instead.
by Jan Schlamelcher
Mon, 2015-04-20, 10:34
Forum: DCMTK - Installation
Topic: Building DCMTK for Android
Replies: 7
Views: 15082

Re: Building DCMTK for Android

edit: Ok, i find out what the problem was. Wiki says "location of the adb program within your SDK. Called adb.exe under Windows." so i misunderstood that "location" as path but it is executable name with path. After this, cmake generated makefile but i got completion error :( . ...
by Jan Schlamelcher
Wed, 2015-04-08, 09:23
Forum: DCMTK - General
Topic: Regarding OFString conversion
Replies: 9
Views: 9901

Re: Regarding OFString conversion

I just threw the following code in MinGW: const wchar_t* const test = L"To reproduce the issue, you can change the source code of DICOMIMageCreator.cs like this.To reproduce the issue, you can change the source code of DICOMIMageCreator.cs like this..To reproduce the issue, you can change the s...
by Jan Schlamelcher
Wed, 2015-04-08, 08:37
Forum: DCMTK - General
Topic: Regarding OFString conversion
Replies: 9
Views: 9901

Re: Regarding OFString conversion

As expected. I still hoped it was that simple, though. I think I will try it myself, maybe I can figure something out.
by Jan Schlamelcher
Tue, 2015-04-07, 13:52
Forum: DCMTK - General
Topic: Regarding OFString conversion
Replies: 9
Views: 9901

Re: Regarding OFString conversion

This may be typos, but some things are fishy in the code you pasted: 1. As convertFromWideCharString is a static method, you don't need to create an OFCharacterEncoding object (still this should not hurt, though). Simply use OFCharacterEncoding::convertFromWideCharString. 2. you create a value of in...
by Jan Schlamelcher
Tue, 2015-04-07, 08:37
Forum: DCMTK - General
Topic: Regarding OFString conversion
Replies: 9
Views: 9901

Re: Regarding OFString conversion

I am using static convertFromWideCharString() function of OFCharacterEncoding class for converting Wchar_t to OFString. Wchar_t input is more than 1024 characters, after the conversion using this function output string get truncated Last part of string is removed. That's strage! 'theSize' attribute...
by Jan Schlamelcher
Tue, 2015-03-24, 09:43
Forum: DCMTK - General
Topic: problem in using dcmtk libs built with 2012 visual studio
Replies: 1
Views: 2653

Re: problem in using dcmtk libs built with 2012 visual studi

The constructor DSRCodedEntryValue::DSRCodedEntryValue(class OFString const &,class OFString const &,class OFString const &,bool) does no longer exist, since the following commit . I'm not sure how you got your compiler to try to link it, since it has also been changed in the header file...
by Jan Schlamelcher
Mon, 2015-03-16, 14:35
Forum: DCMTK - Installation
Topic: Windows 8.1 x64 | CMake 2.8.12.2 with dcmtk-3.6.1_20150217
Replies: 4
Views: 9154

Re: Windows 8.1 x64 | CMake 2.8.12.2 with dcmtk-3.6.1_201502

We tracked it down, it seems this fixes the problem, not sure why though: diff --git a/CMake/GenerateDCMTKConfigure.cmake b/CMake/GenerateDCMTKConfigure.cmake index ab9aa6b..b05825c 100644 --- a/CMake/GenerateDCMTKConfigure.cmake +++ b/CMake/GenerateDCMTKConfigure.cmake @@ -759,7 +759,7 @@ FUNCTION(...
by Jan Schlamelcher
Mon, 2015-03-16, 10:00
Forum: DCMTK - Installation
Topic: Windows 8.1 x64 | CMake 2.8.12.2 with dcmtk-3.6.1_20150217
Replies: 4
Views: 9154

Re: Windows 8.1 x64 | CMake 2.8.12.2 with dcmtk-3.6.1_201502

Thanks for your help in tracking it down, i'll setup my configuration like that and look into it.
by Jan Schlamelcher
Mon, 2015-03-09, 14:08
Forum: DCMTK - Installation
Topic: Windows 8.1 x64 | CMake 2.8.12.2 with dcmtk-3.6.1_20150217
Replies: 4
Views: 9154

Re: Windows 8.1 x64 | CMake 2.8.12.2 with dcmtk-3.6.1_201502

It's pretty hard to answer this question, since this definitely should not happen. Normally CMake compiles an executable called arith.exe during configuration and then calls 'arith.exe ${ARITH_H_FILE}', where ${ARITH_H_FILE} is set the following way (in CMake/GenerateDCMTKConfigure.cmake): SET(ARITH...
by Jan Schlamelcher
Wed, 2015-03-04, 17:02
Forum: DCMTK - General
Topic: Compiling for (VisualStudioVersion > 2010)
Replies: 2
Views: 3561

Re: Compiling for (VisualStudioVersion > 2010)

Thanks for the input, we'll think about changing that. Please note, however, that these settings are only done to ensure DCMTK is compatible to the binaries of the third party libraries, which we provide on our website. As a simple workaround you may set 'DCMTK_OVERWRITE_WIN32_COMPILER_FLAGS' to fal...