Install libgdcm2-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libgdcm2-dev
Description:
Grassroots DICOM development libraries and headers
Grassroots DiCoM is a C++ library for DICOM medical files. It is automatically wrapped to python/C#/Java (using swig). It supports RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated. . Headers and static libraries for libgdcm. These are not needed to use GDCM, but are needed to build plugins or programs that link against libgdcm.
Homepage: http://gdcm.sourceforge.net/
Version: 2.8.4-1build2
Section: universe/libdevel