Skip to content

Commit f21fca4

Browse files
committed
WIP: Attempt to enable PNG, ZLIB, and TIFF in DCMTK
Build started at 12:14... 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------ 2>------ Build started: Project: zlib (ITK\Modules\ThirdParty\ZLIB\src\itkzlib-ng\zlib), Configuration: Debug x64 ------ 3>------ Build started: Project: itkjpeg16, Configuration: Debug x64 ------ 4>------ Build started: Project: itkjpeg12, Configuration: Debug x64 ------ 2>zlib.vcxproj -> C:\Dev\ITK-vs22\lib\Debug\itkzlib-6.0.lib 5>------ Build started: Project: itkpng (ITK\Modules\ThirdParty\PNG\src\itkpng\itkpng), Configuration: Debug x64 ------ 3>itkjpeg16.vcxproj -> C:\Dev\ITK-vs22\Modules\ThirdParty\JPEG\src\itkjpeg-turbo\itkjpeg16.dir\Debug\itkjpeg16.lib 4>itkjpeg12.vcxproj -> C:\Dev\ITK-vs22\Modules\ThirdParty\JPEG\src\itkjpeg-turbo\itkjpeg12.dir\Debug\itkjpeg12.lib 5>itkpng.vcxproj -> C:\Dev\ITK-vs22\lib\Debug\itkpng-6.0.lib 6>------ Build started: Project: itkjpeg, Configuration: Debug x64 ------ 6>itkjpeg.vcxproj -> C:\Dev\ITK-vs22\lib\Debug\itkjpeg-6.0.lib 7>------ Build started: Project: itktiff (ITK\Modules\ThirdParty\TIFF\src\itktiff\libtiff\itktiff), Configuration: Debug x64 ------ 7>itktiff.vcxproj -> C:\Dev\ITK-vs22\lib\Debug\itktiff-6.0.lib 8>------ Build started: Project: ITKDCMTK_ExtProject, Configuration: Debug x64 ------ 8>1>Performing update step for 'ITKDCMTK_ExtProject' 8>-- Already at requested ref: 8197ee21a2e17be65b72508dca9a91d4d60725aa 8>No patch step for 'ITKDCMTK_ExtProject' 8>Performing configure step for 'ITKDCMTK_ExtProject' 8>-- Found TIFF: C:/Dev/ITK-vs22/lib/Debug/itktiff-6.0.lib 8>-- Info: TIFF_FOUND=TRUE TIFF_LIBRARY=C:/Dev/ITK-vs22/lib/Debug/itktiff-6.0.lib 8>CMake Error at C:/Program Files/CMake/share/cmake-4.1/Modules/FindJPEG.cmake:115 (file): 8> file STRINGS file "C:/Dev/ITK-vs22/Modules/ThirdParty/JPEG/src" cannot be 8> read. 8>Call Stack (most recent call first): 8> CMake/3rdparty.cmake:30 (find_package) 8> CMake/dcmtkPrepare.cmake:622 (include) 8> CMakeLists.txt:38 (include) 8> 8> 8>-- Found JPEG: C:/Dev/ITK-vs22/lib/Debug/itkjpeg-6.0.lib 8>-- Info: JPEG_FOUND=TRUE JPEG_LIBRARY=C:/Dev/ITK-vs22/lib/Debug/itkjpeg-6.0.lib 8>CMake Error at C:/Program Files/CMake/share/cmake-4.1/Modules/FindJPEG.cmake:115 (file): 8> file STRINGS file "C:/Dev/ITK-vs22/Modules/ThirdParty/JPEG/src" cannot be 8> read. 8>Call Stack (most recent call first): 8> CMake/3rdparty.cmake:47 (find_package) 8> CMake/dcmtkPrepare.cmake:622 (include) 8> CMakeLists.txt:38 (include) 8> 8> 8>-- Info: DCMTK TIFF support will be enabled 8>-- Info: DCMTK will compile with built-in (compiled-in) default dictionary 8>-- Info: DCMTK will load dictionaries defined by DCMDICTPATH environment variable 8>-- Info: DCMTK's builtin private dictionary support will be enabled 8>-- Info: Thread support will be enabled 8>-- Info: Wide char file I/O functions will be disabled 8>-- Info: Wide char main function for command line tools will be disabled 8>-- Info: Building DCMTK with character set conversion support using built-in oficonv module 8>-- Info: Building DCMTK with large file support (LFS) 8>-- Info: C++11 features enabled 8>-- Info: C++14 features enabled 8>-- Info: C++17 features enabled 8>-- Info: STL vector support disabled 8>-- Info: STL algorithm support disabled 8>-- Info: STL list support disabled 8>-- Info: STL map support disabled 8>-- Info: STL memory support disabled 8>-- Info: STL stack support disabled 8>-- Info: STL string support disabled 8>-- Info: STL type_traits support disabled 8>-- Info: STL tuple support disabled 8>-- Info: STL system_error support disabled 8>-- Could NOT find BISON (missing: BISON_EXECUTABLE) 8>-- Could NOT find FLEX (missing: FLEX_EXECUTABLE) 8>-- Looking for CMake command CONFIGURE_PACKAGE_CONFIG_FILE 8>-- Looking for CMake command CONFIGURE_PACKAGE_CONFIG_FILE - found 8>-- Looking for CMake command WRITE_BASIC_PACKAGE_VERSION_FILE 8>-- Looking for CMake command WRITE_BASIC_PACKAGE_VERSION_FILE - found 8>-- Configuring incomplete, errors occurred! 8>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'C:\Dev\ITK-vs22\CMakeFiles\b1d859612ccdc531581ed5ecfbbad0a2\ITKDCMTK_ExtProject-patch.rule;C:\Dev\ITK-vs22\CMakeFiles\b1d859612ccdc531581ed5ecfbbad0a2\ITKDCMTK_ExtProject-configure.rule;C:\Dev\ITK-vs22\CMakeFiles\b1d859612ccdc531581ed5ecfbbad0a2\ITKDCMTK_ExtProject-build.rule;C:\Dev\ITK-vs22\CMakeFiles\b1d859612ccdc531581ed5ecfbbad0a2\ITKDCMTK_ExtProject-install.rule;C:\Dev\ITK-vs22\CMakeFiles\18b4097ba1a74772a1adcac7ded44996\ITKDCMTK_ExtProject-complete.rule;C:\Dev\ITK-vs22\CMakeFiles\d6d65f678404678c25e70b7d77ba449c\ITKDCMTK_ExtProject.rule' exited with code 1. 8>Done building project "ITKDCMTK_ExtProject.vcxproj" -- FAILED. ========== Build: 7 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== ========== Build completed at 12:14 and took 03.604 seconds ==========
1 parent e98130f commit f21fca4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/ThirdParty/DCMTK/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ endforeach()
235235
-DDCMTK_ENABLE_CXX11:BOOL=ON
236236
-DDCMTK_FORCE_FPIC_ON_UNIX:BOOL=ON
237237
-DBUILD_APPS:BOOL=OFF # Only DCMTK libraries are needed
238+
-DDCMTK_USE_FIND_PACKAGE:BOOL=ON
238239
-DDCMTK_WITH_OPENSSL:BOOL=OFF
239240
-DDCMTK_WITH_PNG:BOOL=ON
240241
-DDCMTK_WITH_XML:BOOL=OFF

0 commit comments

Comments
 (0)