QIICR / dcmqi

dcmqi (DICOM for Quantitative Imaging) is a free, open source C++ library for conversion between imaging research formats and the standard DICOM representation for image analysis results
https://qiicr.gitbook.io/dcmqi-guide/
BSD 3-Clause "New" or "Revised" License
241 stars 61 forks source link

Explore upgrading to use ITKv5 #444

Closed fedorov closed 1 year ago

fedorov commented 2 years ago

This would be in place of a custom ITKv3, which was done originally to reduce build time of the library due to CI time limits

fedorov commented 1 year ago

No idea why those header files are missing ... asked in https://discourse.itk.org/t/missing-header-files-in-itk-package-i-built/5620

fedorov commented 1 year ago

@pieper I am not even sure where to start here - do you have any idea where those errors below are coming from? I built all dependencies (DCMTK, ITK, zlib) using the same VS version, on AppVeyor.

image image image
jamesobutler commented 1 year ago

I built all dependencies (DCMTK, ITK, zlib) using the same VS version, on AppVeyor.

@fedorov It looks like you forgot to update the DownloadFile for zlib to download the new VS17 version you made rather than the existing VS12 specified version.

- $client.DownloadFile("https://github.com/qiicr/zlib-dcmqi/releases/download/zlib-dcmqi-1.2.3-VS12-Win64-Release-static/zlib-dcmqi.zip", "C:\zlib-dcmqi.zip")
+ $client.DownloadFile(“https://github.com/qiicr/zlib-dcmqi/releases/download/zlib-dcmqi-1.2.3-VS17-Win64-Release-static/zlib-dcmqi.zip", "C:\zlib-dcmqi.zip")

I also see another VS12 reference in: $client.DownloadFile("https://github.com/fedorov/SlicerExecutionModel/releases/download/SlicerExecutionModel-dcmqi-VS12-Win64-Release-v0.0.5/SlicerExecutionModel-dcmqi.zip", "C:\SlicerExecutionModel-dcmqi.zip")

fedorov commented 1 year ago

@jamesobutler that was it! Thank you!!! I re-built all the packages, but didn't update the links to the updated zlib and DCMTK packages here!

SlicerExecutionModel package is not used, I just rebuild that library. Should remove that download.

fedorov commented 1 year ago

todo: looks like dockcross is using an older dcmtk version, need to update.

image
jamesobutler commented 1 year ago

That looks like the DCMTK version currently used in Slicer. I have an open PR to update to latest DCMTK tag in https://github.com/Slicer/Slicer/pull/6709.