Skip to content

Commit

Permalink
looks like we can't turn off DCMTK build
Browse files Browse the repository at this point in the history
* 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 <dcmtk/dcmdata/dctk.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~

where headers are expected
  • Loading branch information
jefferis committed Aug 8, 2024
1 parent 8812456 commit bcfbd81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-cmtk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
fi

0 comments on commit bcfbd81

Please sign in to comment.