From bcfbd81a0eb765d14f6d62e11018f329b0d3821a Mon Sep 17 00:00:00 2001 From: Gregory Jefferis Date: Thu, 8 Aug 2024 06:18:34 +0100 Subject: [PATCH] looks like we can't turn off DCMTK build * there are still places in the code like In file included from /home/runner/src/cmtk/core/libs/IO/cmtkImageFileDICOM.cxx:33: /home/runner/src/cmtk/core/libs/IO/cmtkImageFileDICOM.h:45:10: fatal error: dcmtk/dcmdata/dctk.h: No such file or directory 45 | #include | ^~~~~~~~~~~~~~~~~~~~~~ where headers are expected --- build-cmtk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-cmtk.sh b/build-cmtk.sh index 1b61e542..d2be3a40 100755 --- a/build-cmtk.sh +++ b/build-cmtk.sh @@ -4,7 +4,7 @@ set -e if [ ! -d "$HOME/usr/local/bin" ]; then mkdir -p $HOME/src && cd $HOME/src git clone --depth 50 https://github.com/jefferis/cmtk - cd cmtk/core && mkdir build && cd build && cmake -DCMTK_USE_DCMTK=OFF .. && make DESTDIR=$HOME/ all install + cd cmtk/core && mkdir build && cd build && cmake .. && make DESTDIR=$HOME/ all install else echo 'Using cached $HOME/usr/local directory.'; -fi \ No newline at end of file +fi