Host Environment
- OS: Windows10
- Compiler: VS2019
To Reproduce
./vcpkg install osgearth:x64-windows
Failure logs
build-x64-windows-dbg-err
cl : Command line warning D9025 : overriding '/W3' with '/W4'
cl : Command line warning D9025 : overriding '/Z7' with '/Zi'
cl : Command line warning D9025 : overriding '/W3' with '/W4'
cl : Command line warning D9025 : overriding '/Z7' with '/Zi'
cl : Command line warning D9025 : overriding '/W3' with '/W4'
cl : Command line warning D9025 : overriding '/Z7' with '/Zi'
cl : Command line warning D9025 : overriding '/W3' with '/W4'
cl : Command line warning D9025 : overriding '/Z7' with '/Zi'
cl : Command line warning D9025 : overriding '/W3' with '/W4'
cl : Command line warning D9025 : overriding '/Z7' with '/Zi'
cl : Command line warning D9025 : overriding '/W3' with '/W4'
cl : Command line warning D9025 : overriding '/Z7' with '/Zi'
cl : Command line warning D9025 : overriding '/W3' with '/W4'
cl : Command line warning D9025 : overriding '/Z7' with '/Zi'
cl : Command line warning D9025 : overriding '/W3' with '/W4'
....repeat
Microsoft (R) Program Maintenance Utility Version 14.28.29335.0
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9025 : overriding '/Z7' with '/Zi'
cl : Command line warning D9025 : overriding '/W3' with '/W4'
cl : Command line warning D9025 : overriding '/Z7' with '/Zi'
cl : Command line warning D9025 : overriding '/W3' with '/W4'
cl : Command line warning D9025 : overriding '/Z7' with '/Zi'
cl : Command line warning D9025 : overriding '/W3' with '/W4'
NMAKE : fatal error U1077: '"D:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\link.EXE"' : return code '0xc0000005'
Stop.
Additional context
Starting package 1/13: gdal:x64-windows
Building package gdal[core]:x64-windows...
-- Using cached D:/src/vcpkg/downloads/gdal313.zip
-- Cleaning sources at D:/src/vcpkg/buildtrees/gdal/src/gdal313-cf1850c69d.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/src/vcpkg/downloads/gdal313.zip
-- Applying patch 0001-Fix-debug-crt-flags.patch
-- Applying patch 0002-Fix-build.patch
-- Applying patch 0004-Fix-std-fabs.patch
-- Applying patch 0005-Fix-cfitsio.patch
-- Using source at D:/src/vcpkg/buildtrees/gdal/src/gdal313-cf1850c69d.clean
-- Building and installing x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:145 (message):
Command failed: "D:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/nmake.exe" /NOLOGO /G /U -f makefile.vc devinstall install INSTALLDIR=D:/src/vcpkg/packages/gdal_x64-windows/debug DATADIR=D:/src/vcpkg/packages/gdal_x64-windows/share/gdal HTMLDIR=D:/src/vcpkg/packages/gdal_x64-windows/share/gdal/html GEOS_DIR=D:/src/vcpkg/installed/x64-windows/include "GEOS_CFLAGS=-ID:/src/vcpkg/installed/x64-windows/include -DHAVE_GEOS" PROJ_INCLUDE=-ID:/src/vcpkg/installed/x64-windows/include EXPAT_DIR=D:/src/vcpkg/installed/x64-windows/include EXPAT_INCLUDE=-ID:/src/vcpkg/installed/x64-windows/include CURL_INC=-ID:/src/vcpkg/installed/x64-windows/include "SQLITE_INC=-ID:/src/vcpkg/installed/x64-windows/include " PG_INC_DIR=D:/src/vcpkg/installed/x64-windows/include OPENJPEG_ENABLED=YES OPENJPEG_CFLAGS=-ID:/src/vcpkg/installed/x64-windows/include OPENJPEG_VERSION=20100 WEBP_ENABLED=YES WEBP_CFLAGS=-ID:/src/vcpkg/installed/x64-windows/include LIBXML2_INC=-ID:/src/vcpkg/installed/x64-windows/include PNG_EXTERNAL_LIB=1 PNGDIR=D:/src/vcpkg/installed/x64-windows/include ZLIB_INC=-ID:/src/vcpkg/installed/x64-windows/include ZLIB_EXTERNAL_LIB=1 ACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 MSVC_VER=1900 WIN64=YES WITH_PDB=1 DLLBUILD=1 GDAL_HOME=D:/src/vcpkg/packages/gdal_x64-windows/debug CXX_CRT_FLAGS="/MDd" PROJ_LIBRARY=D:/src/vcpkg/installed/x64-windows/debug/lib/proj_d.lib PNG_LIB=D:/src/vcpkg/installed/x64-windows/debug/lib/libpng16d.lib GEOS_LIB=D:/src/vcpkg/installed/x64-windows/debug/lib/geos_cd.lib EXPAT_LIB=D:/src/vcpkg/installed/x64-windows/debug/lib/libexpatd.lib "CURL_LIB=D:/src/vcpkg/installed/x64-windows/debug/lib/libcurl-d.lib wsock32.lib wldap32.lib winmm.lib" "SQLITE_LIB=D:/src/vcpkg/installed/x64-windows/debug/lib/sqlite3.lib " OPENJPEG_LIB=D:/src/vcpkg/installed/x64-windows/debug/lib/openjp2.lib WEBP_LIBS=D:/src/vcpkg/installed/x64-windows/debug/lib/webpd.lib "LIBXML2_LIB=D:/src/vcpkg/installed/x64-windows/debug/lib/libxml2.lib D:/src/vcpkg/installed/x64-windows/debug/lib/iconv.lib D:/src/vcpkg/installed/x64-windows/debug/lib/charset.lib D:/src/vcpkg/installed/x64-windows/debug/lib/lzmad.lib" ZLIB_LIB=D:/src/vcpkg/installed/x64-windows/debug/lib/zlibd.lib "PG_LIB=D:/src/vcpkg/installed/x64-windows/debug/lib/libpq.lib D:/src/vcpkg/installed/x64-windows/debug/lib/libpgcommon.lib D:/src/vcpkg/installed/x64-windows/debug/lib/libpgport.lib Secur32.lib Shell32.lib Advapi32.lib Crypt32.lib Gdi32.lib D:/src/vcpkg/installed/x64-windows/debug/lib/libcrypto.lib D:/src/vcpkg/installed/x64-windows/debug/lib/libssl.lib" DEBUG=1
Working Directory: D:/src/vcpkg/buildtrees/gdal/x64-windows-dbg
See logs for more information:
D:\src\vcpkg\buildtrees\gdal\build-x64-windows-dbg-out.log
D:\src\vcpkg\buildtrees\gdal\build-x64-windows-dbg-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_nmake.cmake:221 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_nmake.cmake:89 (vcpkg_build_nmake)
ports/gdal/portfile.cmake:123 (vcpkg_install_nmake)
scripts/ports.cmake:136 (include)
Error: Building package gdal:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: gdal:x64-windows
Vcpkg version: 2020.11.12-nohash
Additionally, attach any relevant sections from the log files above.
Host Environment
To Reproduce
./vcpkg install osgearth:x64-windowsFailure logs
build-x64-windows-dbg-err
Additional context