Closed georgegerdin closed 5 years ago
Do you have gdcm already installed?
Do you have gdcm already installed?
C:\vcpkg>vcpkg remove gdcm:x64-windows The following packages are not installed, so not removed: gdcm:x64-windows Package gdcm:x64-windows is not installed Purging package gdcm:x64-windows... Purging package gdcm:x64-windows... done
C:\vcpkg>vcpkg remove gdcm:x86-windows The following packages are not installed, so not removed: gdcm:x86-windows Package gdcm:x86-windows is not installed Purging package gdcm:x86-windows... Purging package gdcm:x86-windows... done
@georgegerdin, I can't repro this issue, it seems conflict with other port, could you try following steps to check what's header it included?
cl.exe /TP -D_CRT_FAR_MAPPINGS_NO_DEPRECATE -D_CRT_IS_WCTYPE_NO_DEPRECATE -D_CRT_MANAGED_FP_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE_GLOBALS -D_CRT_SECURE_NO_WARNINGS -D_CRT_SETERRORMODE_BEEP_SLEEP_NO_DEPRECATE -D_CRT_TIME_FUNCTIONS_NO_DEPRECATE -D_CRT_VCCLRIT_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -IModules\ThirdParty\Expat\src -IC:\vcpkg\installed\x64-windows\include -IModules\ThirdParty\ZLIB\src -IModules\ThirdParty\GDCM -IModules\ThirdParty\GDCM\src\gdcm\Source\Common -IC:\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Source\MediaStorageAndFileFormat -IC:\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Source\DataDictionary -IC:\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Source\Common -IC:\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Source\InformationObjectDefinition -IC:\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Source\MessageExchangeDefinition -IC:\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Source\DataStructureAndEncodingDefinition -IC:\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Utilities\socketxx -IC:\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Utilities\socketxx\socket++ -IModules\ThirdParty\GDCM\src\gdcm\Utilities\socketxx\socket++ /DWIN32 /D_WINDOWS /utf-8 /GR /EHsc /MP /bigobj /W0 /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1 /showIncludes /FS -c C:\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Utilities\socketxx\socket++\echo.cpp
For me:
Note: including file: F:\VCPKG\8538\vcpkg\buildtrees\itk\x64-windows-dbg\Modules\ThirdParty\GDCM\src\gdcm\Utilities\socketxx\socket++\config.h
Note: including file: F:\VCPKG\8538\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Utilities\socketxx\socket++\local.h
....
Note: including file: F:\VCPKG\8538\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Utilities\socketxx\socket++/echo.h
Note: including file: F:\VCPKG\8538\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Utilities\socketxx\socket++/protocol.h
Note: including file: F:\VCPKG\8538\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Utilities\socketxx\socket++/sockinet.h
Note: including file: F:\VCPKG\8538\vcpkg\buildtrees\itk\x64-windows-dbg\Modules\ThirdParty\GDCM\src\gdcm\Utilities\socketxx\socket++\config.h
Note: including file: F:\VCPKG\8538\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Utilities\socketxx\socket++\local.h
Note: including file: f:\vcpkg\8538\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\modules\thirdparty\gdcm\src\gdcm\utilities\socketxx\socket++\sockstream.h
Note: including file: F:\VCPKG\8538\vcpkg\buildtrees\itk\x64-windows-dbg\Modules\ThirdParty\GDCM\src\gdcm\Utilities\socketxx\socket++\config.h
Note: including file: F:\VCPKG\8538\vcpkg\buildtrees\itk\src\v5.0.1-d4f3d9a818\Modules\ThirdParty\GDCM\src\gdcm\Utilities\socketxx\socket++\local.h
@PhoebeHui Thank you for the help. The build was picking up a config.h file from a broken package in the include folder overriding the one generated by the build.
Host Environment
To Reproduce Steps to reproduce the behavior:
./vcpkg install itk:x64-windows
Failure logs
Additional context