microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.28k stars 6.42k forks source link

GDCM conflicts with OpenJPEG? #2374

Closed dzenanz closed 6 years ago

dzenanz commented 6 years ago

I have libjpeg-turbo installed to some dependency, it might have something to do with this error. C:_\v>vcpkg.exe install gdcm2 The following packages will be built and installed: gdcm2:x64-windows-static Starting package 1/1: gdcm2:x64-windows-static Building package gdcm2:x64-windows-static... -- CURRENT_INSTALLEDDIR=C://v/installed/x64-windows-static -- DOWNLOADS=C:/_/v/downloads -- CURRENT_PACKAGESDIR=C://v/packages/gdcm2_x64-windows-static -- CURRENT_BUILDTREESDIR=C://v/buildtrees/gdcm2 -- CURRENT_PORTDIR=C://v/ports/gdcm2/. -- Downloading https://github.com/malaterre/GDCM/archive/v2.8.3.tar.gz... -- Downloading https://github.com/malaterre/GDCM/archive/v2.8.3.tar.gz... OK -- Testing integrity of downloaded file... -- Testing integrity of downloaded file... OK -- Extracting source C://v/downloads/malaterre-GDCM-v2.8.3.tar.gz -- Extracting done -- Applying patch C://v/ports/gdcm2/socketxx.patch -- Applying patch C://v/ports/gdcm2/socketxx.patch done -- Configuring x64-windows-static-rel -- Configuring x64-windows-static-rel done -- Configuring x64-windows-static-dbg -- Configuring x64-windows-static-dbg done -- Build x64-windows-static-rel -- Build x64-windows-static-rel done -- Build x64-windows-static-dbg -- Build x64-windows-static-dbg done -- Installing: C://v/packages/gdcm2x64-windows-static/share/gdcm2/copyright -- Performing post-build validation -- Performing post-build validation done Building package gdcm2:x64-windows-static... done Installing package gdcm2:x64-windows-static... The following files are already installed in C://v/installed/x64-windows-static and are in conflict with gdcm2:x64-windows-static

debug/lib/gdcmopenjpeg-2.1/OpenJPEGConfig.cmake
lib/gdcmopenjpeg-2.1/OpenJPEGConfig.cmake

Please ensure you're using the latest portfiles with .\vcpkg update, then submit an issue at https://github.com/Microsoft/vcpkg/issues including: Package: gdcm2:x64-windows-static Vcpkg version: 0.0.100-2017-12-09-4567fa570916b0398ac0a65645e2074a4c8f0fd9

Additionally, attach any relevant sections from the log files above.

C:_\v>

dzenanz commented 6 years ago

Oh this was due to having ITK installed, which includes GDCM.