Page MenuHomePhabricator

dicom plugin not built because not finding storescp command
Closed, ResolvedPublic

Description

The CMake file of the plugin looks for the storescp binary in ${DCMTK_DIR}/bin, but if DCMTK_DIR points to a DCMTK install directory when configuring MITK then later the value of the variable becomes .../share/dcmtk later on at the MITK project level, and the storescp command won't be found.

The share/dcmtk subdirectory contains DCMTKConfig.cmake.

I recommend to look for the storescp binary in ${DCMTK_DIR}/../../bin as well.

Pull request follows.

Event Timeline

Stefan, can you take a look at it?

[f0691e]: Merge branch 'bug-19431-Integration'

Merged commits:

2016-02-24 14:22:05 Stefan Kislinskiy [0b9919]
Merge remote-tracking branch 'NifTK/bug-19431-storescp-path' into bug-19431-Integration


2015-11-06 15:42:46 Miklos Espak [eaaefc]
DICOM storescp command looked for in DCMTK_DIR/../../bin as well

Signed-off-by: Miklos Espak <m.espak@ucl.ac.uk>