Search found 1476 matches

by Marco Eichelberg
Fri, 2024-07-26, 13:33
Forum: DCMTK - General
Topic: What replaces removed/renamed items from v3.5.4
Replies: 13
Views: 116

Re: What replaces removed/renamed items from v3.5.4

OFBitmanipTemplate still exists, see ofstd/include/dcmtk/ofstd/ofbmanip.h.
There never was DIMSE_DATASET_NONE, as far as I know. It is called DIMSE_DATASET_NULL and still exists.
by Marco Eichelberg
Fri, 2024-07-26, 13:27
Forum: DCMTK - General
Topic: I'm seeing link errors with items missing from DCMTK libraries
Replies: 4
Views: 35

Re: I'm seeing link errors with items missing from DCMTK libraries

The INSTALL file does not document library dependencies at all. If you port from a library version published in 2005 to one published in 2023, it should not be too surprising that some things have changed since then :wink:
by Marco Eichelberg
Fri, 2024-07-26, 13:24
Forum: DCMTK - General
Topic: INCLUDE_CCTYPE not supported error
Replies: 2
Views: 28

Re: INCLUDE_CCTYPE not supported error

We have removed some compatibility code for ancient C++ compilers that did not support the C++98 standard. This has standard now been available for 25 years, so it is probably safe to exclude compilers that do not support <cctype> and require <ctype.h> instead.
by Marco Eichelberg
Tue, 2024-07-16, 17:39
Forum: DCMJP2K
Topic: How to do Per frame jpeg2000 encoding?
Replies: 3
Views: 436

Re: How to do Per frame jpeg2000 encoding?

In this case I completely misunderstood your initial post, sorry. In order to convert DICOM images to JPEG 2000 files, you should use class DicomImage, which also allows you to perform those pre-processing steps that DICOM requires but that are not possible in JPEG 2000. Look at the implementation o...
by Marco Eichelberg
Tue, 2024-07-16, 17:35
Forum: DCMTK - Installation
Topic: Self built OpenSSL version 3.0.8 names
Replies: 17
Views: 802

Re: Self built OpenSSL version 3.0.8 names

We use a CMake script that modifies the makefile after OpenSSL's Perl configure script has generated it. Here are the relevant parts: file(READ "makefile" MAKEFILE) if(DEBUG) string(REGEX REPLACE "lib(crypto|ssl)([^ \n\t\r]*\\.)(dll|lib|def|pdb)" "dcmtk\\1_d\\2\\3" MAKE...
by Marco Eichelberg
Tue, 2024-07-02, 16:51
Forum: DCMJP2K
Topic: How to do Per frame jpeg2000 encoding?
Replies: 3
Views: 436

Re: How to do Per frame jpeg2000 encoding?

We are actually talking about JPEG 2000 decoding here, which is good, because per-frame encoding is not supported in DCMTK, while per-frame decoding is. Loading the file with DcmFileFormat::loadFile() is a "lazy" operation that will leave the compressed pixel data in the file until it is a...
by Marco Eichelberg
Sat, 2024-06-29, 18:19
Forum: DCMTK - Installation
Topic: Self built OpenSSL version 3.0.8 names
Replies: 17
Views: 802

Re: Self built OpenSSL version 3.0.8 names

When building the OpenSSL library, the library files will be named "libcrypto" and "libssl". We rename these in
our support library build to avoid the situation where a different application installs these DLLs in an
incompatible version and our binaries then load the wrong DLL.
by Marco Eichelberg
Sat, 2024-06-29, 18:12
Forum: DCMTK - Installation
Topic: Self built OpenSSL version 3.0.8 names
Replies: 17
Views: 802

Re: Self built OpenSSL version 3.0.8 names

I cannot say what "nmake install" will do. We never use that, but manually copy the files needed by DCMTK into the directory structure that you find in our pre-compiled libraries (actually, nowadays there is a build script for that, but I used to do it manually for years. It's not that dif...
by Marco Eichelberg
Sat, 2024-06-29, 18:08
Forum: DCMTK - Installation
Topic: Changing version of OpenSSL for an already configured build system
Replies: 9
Views: 464

Re: Changing version of OpenSSL for an already configured build system

The header and library files should be sufficient for DCMTK's configure tests. Make sure to create a new build directory since DCMTK will not notice that some header files have changed and some configure tests now may have different outcome. This has been tested and works with DCMTK 3.6.8 and OpenSS...
by Marco Eichelberg
Tue, 2024-06-25, 13:54
Forum: DCMTK - Installation
Topic: Warning after switching to use environment variables
Replies: 7
Views: 356

Re: Warning after switching to use environment variables

To my knowlege, setting set(CMAKE_SUPPRESS_REGENERATION true) should suppress the generation of the ZERO_CHECK target, which might be preferrable over manually tinkering with the list of build targets in the solution file.
by Marco Eichelberg
Tue, 2024-06-25, 13:51
Forum: DCMTK - Installation
Topic: Is there a way to select x64 and Win32?
Replies: 5
Views: 268

Re: Is there a way to select x64 and Win32?

Yes. If you select a Visual Studio version as a generator, the dialog will display a selection list named "optional platform for generator". There you can select Win32, x64, and some ARM varieties.
by Marco Eichelberg
Mon, 2024-06-24, 10:47
Forum: DCMTK - Installation
Topic: howto_cmakeconfiguration is outdated
Replies: 2
Views: 246

Re: howto_cmakeconfiguration is outdated

Thank you for pointing this out. I just updated the page to show the versions of Visual Studio supported in the current version (2015 to 2022).
by Marco Eichelberg
Mon, 2024-06-24, 10:43
Forum: DCMTK - Installation
Topic: Where is the documentation for the CMake DCMTK_WITH options?
Replies: 9
Views: 370

Re: Where is the documentation for the CMake DCMTK_WITH options?

In essence, it's cmake [options] -S <path-to-source> -B <path-to-build>. <path-to-source> should be the directory into which the developed has cloned the Git repository, <path-to-build> the directory into which the Visual Studio files will be written.
by Marco Eichelberg
Mon, 2024-06-24, 10:40
Forum: DCMTK - Installation
Topic: Visual Studio/MS Windows build system generation
Replies: 4
Views: 303

Re: Visual Studio/MS Windows build system generation

Can we use CMake during an automated build process? Yes, definitely. We do this in our automated nightly builds. If you run cmake.exe with the required command line options (selecting compiler, build options, source directory etc.), the tool will display no GUI. It will just generate the Visual Stu...
by Marco Eichelberg
Sun, 2024-06-16, 06:31
Forum: DCMTK - Installation
Topic: Pre-built DCMTK libraries and header files
Replies: 3
Views: 354

Re: Pre-built DCMTK libraries and header files

We don't provide pre-built DCMTK libraries for Visual Studio. Compiling that by yourself should be easy enough.