Search found 318 matches

by Jan Schlamelcher
Wed, 2018-09-12, 14:53
Forum: DCMTK - Installation
Topic: Cross compile for android with ndk 17 fail with "/cache/arit
Replies: 5
Views: 6311

Re: Cross compile for android with ndk 17 fail with "/cache/

How is your setup, which version of CMake and DCMTK are you using?

Why did you quote himanshu.mistri's post?

Why do you set LDFLAGS etc. and also use a toolchain file? These settings are performed by / should be performed within the toolchain file.
by Jan Schlamelcher
Wed, 2018-09-05, 10:52
Forum: DCMTK - General
Topic: Unicode conversion
Replies: 20
Views: 11851

Re: Unicode conversion

Which will be better to use ICU or ICONV. Which is supporting more languages? The ICU is in general a bigger library compared to ICONV, with support for many more things e.g. heuristically detecting the encoding of some text. The current DCMTK (3.6.3) however only uses a subset of its possibilities...
by Jan Schlamelcher
Mon, 2018-09-03, 08:42
Forum: DCMTK - Installation
Topic: Building on mac - OpenSSL issue
Replies: 1
Views: 3817

Re: Building on mac - OpenSSL issue

I think I can remember some issues with OpenSSL on MacOS that a colleague fixed this year, perhaps after releasing 3.6.3. Can you perhaps try the most recent Git version on DCMTK and see whether that fixes it?
by Jan Schlamelcher
Mon, 2018-09-03, 08:36
Forum: DCMTK - Installation
Topic: Compiling errors with support libraries for windows
Replies: 2
Views: 4948

Re: Compiling errors with support libraries for windows

DCMTK overwrites CMAKE_CXX_FLAGS etc. for Visual Studio for various reasons. To switch from /MT to /MD etc. please set BUILD_SHARED_LIBS=ON instead.
by Jan Schlamelcher
Thu, 2018-07-12, 10:48
Forum: DCMTK - Installation
Topic: Building DCMTK as static library
Replies: 2
Views: 4727

Re: Building DCMTK as static library

Set BUILD_SHARED_LIBS=OFF.
by Jan Schlamelcher
Thu, 2018-07-12, 09:07
Forum: DCMTK - General
Topic: dcmtk for x64 bit processor
Replies: 12
Views: 10605

Re: dcmtk for x64 bit processor

Edit: I solved the problem by changing the CMAKE_INSTALL_PREFIX to another folder in C drive and running VS2017 in admin mode. Yes, these are indeed the "solutions" Google will present you, as always, not really good ones. Changing CMAKE_INSTALL_PREFIX will affect several search paths ins...
by Jan Schlamelcher
Wed, 2018-07-11, 14:53
Forum: DCMTK - General
Topic: dcmtk for x64 bit processor
Replies: 12
Views: 10605

Re: dcmtk for x64 bit processor

Did you choose the correct CMake Generator, i.e. Visual Studio 15 2017 Win64 and not just Visual Studio 15 2017? See https://cmake.org/cmake/help/latest/gen ... 02017.html .
by Jan Schlamelcher
Wed, 2018-07-11, 13:46
Forum: DCMTK - Installation
Topic: iconv
Replies: 11
Views: 9488

Re: iconv

Should be as specified here regarding the Iconv library and whatever is appropriate for the charset library. I'll ask Nikolas to provide some notes about how he tested his commits under MinGW.
by Jan Schlamelcher
Tue, 2018-07-10, 15:25
Forum: DCMTK - Installation
Topic: iconv
Replies: 11
Views: 9488

Re: iconv

MinGW Makefiles will perhaps also work, but we only ever used MSYS Makefiles (I think), so it is untested.
by Jan Schlamelcher
Tue, 2018-07-10, 11:35
Forum: DCMTK - Installation
Topic: How did OFFIS build libxml2?
Replies: 11
Views: 8782

Re: How did OFFIS build libxml2?

As you see in the commit message of the commit I linked, I added the flag to suppress some warnings and seemingly also tested it with linking the DDLs, but using the .lib files that refer to the DLLs and not the DLLs directly for linking. I can retest that, perhaps it is necessary to detect whether ...
by Jan Schlamelcher
Tue, 2018-07-10, 11:29
Forum: DCMTK - Installation
Topic: iconv
Replies: 11
Views: 9488

Re: iconv

It's live, see commits 0178bca9 and a9561f36.
by Jan Schlamelcher
Mon, 2018-07-09, 11:12
Forum: DCMTK - Installation
Topic: How did OFFIS build libxml2?
Replies: 11
Views: 8782

Re: How did OFFIS build libxml2?

I see, now that is crazy. It seems to be my fault. Not sure why this leads to a problem for you, but not for us, though.
by Jan Schlamelcher
Thu, 2018-07-05, 13:49
Forum: DCMTK - Installation
Topic: How did OFFIS build libxml2?
Replies: 11
Views: 8782

Re: How did OFFIS build libxml2?

This is strange. You might try using nmake together with the appropriate vcvars file, since it is the only thing different, but I don't really believe that this would be the issue. I am pretty much out of ideas though.
by Jan Schlamelcher
Thu, 2018-07-05, 11:34
Forum: DCMTK - Installation
Topic: How did OFFIS build libxml2?
Replies: 11
Views: 8782

Re: How did OFFIS build libxml2?

We have a Visual Studio 2015 x64 build every night, and it does not show this issue. We configure it via: C:/Program Files/CMake/bin/cmake.exe -DCMAKE_BUILD_TYPE:string=RELEASE -DWITH_TESTING:BOOL=ON --no-warn-unused-cli -DBUILD_SHARED_LIBS:BOOL=ON -G "NMake Makefiles" -DDCMTK_WITH_ICONV:B...
by Jan Schlamelcher
Wed, 2018-07-04, 13:01
Forum: DCMTK - Installation
Topic: How did OFFIS build libxml2?
Replies: 11
Views: 8782

Re: How did OFFIS build libxml2?

No, we only include the iconv library in the libxml2.