[Insight-developers] DCMTKIO on Windows

Matt McCormick matt.mccormick at kitware.com
Thu Dec 20 15:57:01 EST 2012


Hi Hans, Kent,

I am trying the DCMTKIO Module on Windows.

When trying to configure ITK, I get:

  CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97
(message):
  Could NOT find DCMTK (missing: DCMTK_ofstd_INCLUDE_DIR DCMTK_ofstd_LIBRARY
  DCMTK_dcmdata_INCLUDE_DIR DCMTK_dcmdata_LIBRARY DCMTK_dcmimgle_INCLUDE_DIR
  DCMTK_dcmimgle_LIBRARY)
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:291
(_FPHSA_FAILURE_MESSAGE)
  Modules/ThirdParty/DCMTK/CMake/FindDCMTK.cmake:156
(find_package_handle_standard_args)
  Modules/ThirdParty/DCMTK/CMakeLists.txt:59 (find_package)

The DCMTKConfig.cmake that I get from building
Modules/ThirdParty/DCMTK/WindowsBuild/

#
# DCMTKConfig.cmake - DCMTK CMake configuration file for external projects
#

# Basic version information
SET(DCMTK_MAJOR_VERSION 3)
SET(DCMTK_MINOR_VERSION 6)
SET(DCMTK_BUILD_VERSION 1)

# DCMTK build options
SET(DCMTK_WITH_TIFF OFF)
SET(DCMTK_WITH_PNG OFF)
SET(DCMTK_WITH_XML OFF)
SET(DCMTK_WITH_ZLIB OFF)
SET(DCMTK_WITH_OPENSSL OFF)
SET(DCMTK_WITH_SNDFILE OFF)
SET(DCMTK_WITH_ICONV OFF)
SET(DCMTK_WITH_PRIVATE_TAGS ON)
SET(DCMTK_WITH_THREADS ON)

# DCMTK shared libraries
SET(DCMTK_SHARED_LIBRARIES OFF)
SET(DCMTK_SINGLE_SHARED_LIBRARY OFF)

# DCMTK additional options
SET(DCMTK_OVERWRITE_WIN32_COMPILER_FLAGS OFF)
SET(DCMTK_WIDE_CHAR_FILE_IO_FUNCTIONS OFF)
SET(DCMTK_WIDE_CHAR_MAIN_FUNCTION OFF)


Does this ring any bells?

Thanks,
Matt


More information about the Insight-developers mailing list