Search found 28 matches

by konis
Thu, 2019-06-27, 13:36
Forum: DCMTK - Installation
Topic: CXX11 Inferred in latest snapshots
Replies: 4
Views: 6999

Re: CXX11 Inferred in latest snapshots

I hear you :D .

Thanks Jan.
by konis
Thu, 2019-06-27, 13:33
Forum: DCMTK - Installation
Topic: To STL or NOT to STL?
Replies: 5
Views: 8381

Re: To STL or NOT to STL?

Jan, your efforts are certainly appreciated. But you opened my appetite for adventure. If there is 'a lot' of performance to be gained I think I will switch it on 8) . We are in the process of dropping support for older macOS and Windows versions so we can assume reasonable support for STL in Xcode ...
by konis
Thu, 2019-06-27, 13:23
Forum: DCMTK - Installation
Topic: CXX11 Inferred in latest snapshots
Replies: 4
Views: 6999

Re: CXX11 Inferred in latest snapshots

And what is the recommended value for CXX_STANDARD? 11, 14 or 17 ?
by konis
Thu, 2019-06-27, 12:50
Forum: DCMTK - Installation
Topic: To STL or NOT to STL?
Replies: 5
Views: 8381

Re: To STL or NOT to STL?

Jan,

Thank you for your time and insight.

As I see it, there is no tremendous reason to use STL over DCMTK. Personally I'll go for stability instead of speed, especially when dealing with a complex problem like DICOM.
by konis
Tue, 2019-06-25, 18:02
Forum: DCMTK - Installation
Topic: CXX11 Inferred in latest snapshots
Replies: 4
Views: 6999

CXX11 Inferred in latest snapshots

While updating my version of DCMTK I noticed that the default value for CMake flag DCMTK_ENABLE_CXX11 is now INFERRED.

Can someone tell me what that means in terms of C++ 11 usage within the toolkit? Also, what are the supported values for this and related CXX flags?

Thanks.
by konis
Tue, 2019-06-25, 17:31
Forum: DCMTK - Installation
Topic: To STL or NOT to STL?
Replies: 5
Views: 8381

To STL or NOT to STL?

I always wondered whether I have to enable the use of native STL or not in CMake. So I decided to ask the forum:

Are they any known advantages and/or disadvantages for using the native STL functions instead of the DCMTK's ?
This is for developing on macOS and Windows.

Thank you.
by konis
Tue, 2018-11-13, 18:02
Forum: DCMTK - Installation
Topic: Problem building with OpenSSl support on macOS
Replies: 8
Views: 8398

Re: Problem building with OpenSSl support on macOS

An update for anyone having the same problem: The following workaround works for me in order to build the latest DCMTK 3.6.3 snapshot with OpenSSL support on macOS: 1) I comment out line #201 in 3rdparty.cmake and manually set OPENSSL_VERSION_CHECK to 1, since I know I have OpenSSL installed: # CHEC...
by konis
Thu, 2018-11-01, 17:58
Forum: DCMTK - Installation
Topic: Problem building with OpenSSl support on macOS
Replies: 8
Views: 8398

Re: Problem building with OpenSSl support on macOS

Marco,

Two more notes:

1) I am trying to generate the apps and not the shared libs.
2) I don't see any call to FindOpenSSL in the snapshot sources.

Regards,

- Christos
by konis
Thu, 2018-11-01, 17:45
Forum: DCMTK - Installation
Topic: Problem building with OpenSSl support on macOS
Replies: 8
Views: 8398

Re: Problem building with OpenSSl support on macOS

Marco, I got the same result ('openssl/ssl.h' file not found) when I defined the OPENSSL_ROOT_DIR. The OPENSSL_CRYPTO_LIBRARY, OPENSSL_INCLUDE_DIR and OPENSSL_SSL_LIBRARY are automatically set to their correct values but no joy. I can send you the CMakeError.log file if you like. Let me know if you ...
by konis
Wed, 2018-10-31, 14:02
Forum: DCMTK - Installation
Topic: Problem building with OpenSSl support on macOS
Replies: 8
Views: 8398

Re: Problem building with OpenSSl support on macOS

Here is the related segment from CMakeError.log. I think it does not find any openssl headers. Check dependencies Write auxiliary files /bin/mkdir -p /Users/konis/Desktop/EMV5_dev/dcmtk/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_09a15.build/Objects-normal/x86_64 write-file /Users/konis/D...
by konis
Tue, 2018-10-30, 14:17
Forum: DCMTK - Installation
Topic: Problem building with OpenSSl support on macOS
Replies: 8
Views: 8398

Re: Problem building with OpenSSl support on macOS

After some more testing, I see that the problem is with the dcmtk 3.6.3 snapshots. Running Cmake on the sources from dcmtk-3.6.2_snapshot-e0b0223.tar.gz dated 02/11/2017 works OK, but using either the latest dcmtk-3.6.3_snapshot-e27f8cb.tar.gz dated 12/10/2018, or the older, dcmtk-3.6.3_snapshot-592...
by konis
Fri, 2018-10-26, 10:06
Forum: DCMTK - Installation
Topic: Problem building with OpenSSl support on macOS
Replies: 8
Views: 8398

Problem building with OpenSSl support on macOS

Hi, The version of OpenSSL that comes bundled with macOS is quite old (0.9.7 or something, Apple has switched to using its own Security Frameworks a couple of years ago). So I built OpenSSl from source and I tried to guide DCMTK to use this version without much luck. I am using the latest snapshot o...
by konis
Fri, 2017-07-21, 14:57
Forum: DCMTK - Installation
Topic: CMake + Xcode generator minor issue
Replies: 4
Views: 5146

Re: CMake + Xcode generator minor issue

Michael, I came to think that this is a Cmake problem as you initially suggested. When clearing the default value that Cmake inserts in CMAKE_OSX_SYSROOT, the SDKROOT is set to an empty string, which Xcode interprets as the generic 'No SDK (Latest macOS)'. This is a partial solution, since it avoids...
by konis
Thu, 2017-07-20, 18:44
Forum: DCMTK - Installation
Topic: CMake + Xcode generator minor issue
Replies: 4
Views: 5146

Re: CMake + Xcode generator minor issue

Michael, I didn't look into the CMake scripts yet, but I will give it a try. My experience is that the CMAKE_OSX_SYSROOT value is set to the latest SDK by CMake in the first step (after I select XCode as the generator). After that I can change the SDK version by selecting a different one, but the va...
by konis
Thu, 2017-07-20, 17:10
Forum: DCMTK - Installation
Topic: CMake + Xcode generator minor issue
Replies: 4
Views: 5146

CMake + Xcode generator minor issue

There is a minor issue present when using CMAKE to build DCMTK on OSX. I am currently using CMAKE 3.9.0 with DCMTK 3.6.2 and Xcode 8.3.3 but it has being present since we begun using DCMTK (we have an entry in our internal how-to document for DCMTK). When generating the Xcode project CMAKE outputs C...