Skip to Content

dcmtk v3.6.8

Created
Updated

This DICOM ToolKit (DCMTK) package consists of source code, documentation and installation instructions for a set of software libraries and applications implementing part of the DICOM/MEDICOM Standard.

# Usage

The package dcmtk provides CMake targets:

find_package(DCMTK CONFIG REQUIRED)
target_link_libraries(main PRIVATE DCMTK::DCMTK)
# You may also need one or more of the following targets:
# DCMTK::cmr DCMTK::i2d DCMTK::ijg8 DCMTK::config DCMTK::ofstd
# DCMTK::oflog DCMTK::dcmdata DCMTK::dcmimgle DCMTK::dcmimage
# DCMTK::dcmjpeg DCMTK::ijg12 DCMTK::ijg16 DCMTK::dcmjpls
# DCMTK::dcmtkcharls DCMTK::dcmtls DCMTK::dcmnet DCMTK::dcmsr
# DCMTK::dcmdsig DCMTK::dcmwlm DCMTK::dcmqrdb DCMTK::dcmpstat
# DCMTK::dcmrt DCMTK::dcmiod DCMTK::dcmfg DCMTK::dcmseg
# DCMTK::dcmtract DCMTK::dcmpmap DCMTK::dcmect 

Add the following cmake code to your CMakeLists.txt to create definitions for DCMTK

if ("${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}" STREQUAL "/")
    message(WARNING "No vcpkg install dir found, DCMTK definitions are not set")
else()
    target_compile_definitions(main
        PUBLIC
            "DCMTK_PREFIX=${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}"
            "DCM_DICT_DEFAULT_PATH=${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/share/dcmtk-@VERSION@/dicom.dic:${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/share/dcmtk-@VERSION@/private.dic"
            "DEFAULT_CONFIGURATION_DIR=${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/etc/dcmtk-@VERSION@/"
            "DEFAULT_SUPPORT_DATA_DIR=${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/share/dcmtk-@VERSION@/"
    )
endif() 

# License

# Supported Platforms

!(windows & arm)

  • linux
  • osx
  • uwp
  • windows-x64
  • windows-x86
  • windows-arm64

# Features

No default features set.

# external-dict

Enable external dictionary

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# iconv

Enable Iconv support

Dependencies:

No transitive dependencies.

Host Dependencies:

No dependencies.

# icu

Enable ICU support

Dependencies:

No transitive dependencies.

Host Dependencies:

No dependencies.

# openssl

Enable OpenSSL

Dependencies:

No transitive dependencies.

Host Dependencies:
3 transitive dependencies:

# png

Enable PNG support

Dependencies:
and one transitive dependency:
Host Dependencies:
3 transitive dependencies:

# tiff

Enable TIFF support

Dependencies:
  • tiff

    Features: (none)

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

# tools

Build apps

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

# xml2

Enable XML support

Dependencies:
and 3 transitive dependencies:
Host Dependencies:
2 transitive dependencies:

# zlib

Enable zlib support

Dependencies:

No transitive dependencies.

Host Dependencies:
one transitive dependency:

# Dependencies

No dependencies.

# Host Dependencies

No transitive dependencies.

# Dependents

No dependents.

# Host Dependents

No dependents.

# Contributors

  • Sarthak Pati's avatar Sarthak Pati
  • Victor Romero's avatar Victor Romero
  • Robert Schumacher's avatar Robert Schumacher
  • robbie-li's avatar robbie-li
  • Lily's avatar Lily
  • Billy O'Neal's avatar Billy O'Neal
  • Sébastien Matte's avatar Sébastien Matte
  • autoantwort's avatar autoantwort
  • JonLiu1993's avatar JonLiu1993
  • ALittleDruid's avatar ALittleDruid
  • Kevin Leonardic's avatar Kevin Leonardic
  • reito's avatar reito
  • Cheney Wang's avatar Cheney Wang
  • jim wang's avatar jim wang
  • Kai Pastor's avatar Kai Pastor
  • Thomas1664's avatar Thomas1664

# Changelog

  • 3a882b3 [many ports] Don't depend on default features of tiff (#38049)
  • 2eab0f6 [vcpkg-cmake] Catch wrong MAYBE_UNUSED_VARIABLES (#38249)
  • 47603dc [dcmtk] Add prefix to vendored libjpeg symbols (#36274)
  • fe9f0b2 [dcmtk] Fix dependencies (#36607)
  • 039cb74 [dcmtk] Enable toggling external dictionary as a feature (#36136)
  • a1c22c4 [dcmtk] Update to 3.6.8 (#36124)
  • a5bc2a1 [dcmtk] Fix link xml2 error (#35414)
  • a26fc81 [vcpkg baseline][dcmtk] Remove the leading spaces of pc file (#32049)
  • 8c9416f [multiple-ports] Fix missing usage (#29345)
  • cdf0a24 [dcmtk] re-enable support on arm64-osx (#27611)
and 14 more commits:

# Source