Skip to content

Instantly share code, notes, and snippets.

@richardsawyer
richardsawyer / dcmtk_compile.sh
Last active April 11, 2017 03:26 — forked from marcinwol/dcmtk_compile.sh
Compile dcmtk 3.6.1 on Ubuntu 14.04 as static binaries
# The gist shows how to compile latest development snaphost of DCMTK 3.6.1
# in Ubuntu 14.04. The version of the dcmtk avaliable in ubuntu's repositiries
# is 3.6.0, which is from 2011. The gist also shows how to setup include
#and lib folders so thatwe can use them to write our own C++ programs
# using the develpment version.
# first need to install required packages
sudo apt-get install build-essential cmake libpng12-dev libtiff5-dev libxml2-dev libjpeg8-dev zlib1g-dev libwrap0-dev libssl-dev
# where to install DCMTK