Skip to content

Instantly share code, notes, and snippets.

@jslee02
Created January 11, 2018 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jslee02/4674f53df7435693ffbeed46f76713f8 to your computer and use it in GitHub Desktop.
Save jslee02/4674f53df7435693ffbeed46f76713f8 to your computer and use it in GitHub Desktop.
vcpkg fails to build dgal
C:\Users\jslee02\dev\vcpkg>vcpkg install gdal
The following packages will be built and installed:
gdal[core]:x86-windows
Starting package 1/1: gdal:x86-windows
Building package gdal:x86-windows...
-- CURRENT_INSTALLED_DIR=C:/Users/jslee02/dev/vcpkg/installed/x86-windows
-- DOWNLOADS=C:/Users/jslee02/dev/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=C:/Users/jslee02/dev/vcpkg/packages/gdal_x86-windows
-- CURRENT_BUILDTREES_DIR=C:/Users/jslee02/dev/vcpkg/buildtrees/gdal
-- CURRENT_PORT_DIR=C:/Users/jslee02/dev/vcpkg/ports/gdal/.
-- Using cached C:/Users/jslee02/dev/vcpkg/downloads/gdal222.zip
-- Testing integrity of cached file...
-- Testing integrity of cached file... OK
-- Extracting done
-- Applying patch C:/Users/jslee02/dev/vcpkg/ports/gdal/0001-Add-variable-CXX_CRT_FLAGS-to-allow-for-selection-of.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/Users/jslee02/dev/vcpkg/ports/gdal/0001-Add-variable-CXX_CRT_FLAGS-to-allow-for-selection-of.patch done
-- Applying patch C:/Users/jslee02/dev/vcpkg/ports/gdal/0002-Ensures-inclusion-of-PDB-in-release-dll-if-so-reques.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/Users/jslee02/dev/vcpkg/ports/gdal/0002-Ensures-inclusion-of-PDB-in-release-dll-if-so-reques.patch done
-- Applying patch C:/Users/jslee02/dev/vcpkg/ports/gdal/0003-Fix-openjpeg-include.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/Users/jslee02/dev/vcpkg/ports/gdal/0003-Fix-openjpeg-include.patch done
-- Extracting done
-- Applying patch C:/Users/jslee02/dev/vcpkg/ports/gdal/0001-Add-variable-CXX_CRT_FLAGS-to-allow-for-selection-of.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/Users/jslee02/dev/vcpkg/ports/gdal/0001-Add-variable-CXX_CRT_FLAGS-to-allow-for-selection-of.patch done
-- Applying patch C:/Users/jslee02/dev/vcpkg/ports/gdal/0002-Ensures-inclusion-of-PDB-in-release-dll-if-so-reques.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/Users/jslee02/dev/vcpkg/ports/gdal/0002-Ensures-inclusion-of-PDB-in-release-dll-if-so-reques.patch done
-- Applying patch C:/Users/jslee02/dev/vcpkg/ports/gdal/0003-Fix-openjpeg-include.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch C:/Users/jslee02/dev/vcpkg/ports/gdal/0003-Fix-openjpeg-include.patch done
-- Building x86-windows-rel
CMake Error at C:/Users/jslee02/dev/vcpkg/scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
Command failed: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64/nmake.exe;-f;makefile.vc;GDAL_HOME=C:\Users\jslee02\dev\vcpkg\packages\gdal_x86-windows;DATADIR=C:\Users\jslee02\dev\vcpkg\packages\gdal_x86-windows\share\gdal;HTMLDIR=C:\Users\jslee02\dev\vcpkg\packages\gdal_x86-windows\share\gdal\html;GEOS_DIR=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\include;GEOS_CFLAGS=-IC:\Users\jslee02\dev\vcpkg\installed\x86-windows\include -DHAVE_GEOS;PROJ_INCLUDE=-IC:\Users\jslee02\dev\vcpkg\installed\x86-windows\include;EXPAT_DIR=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\include;EXPAT_INCLUDE=-IC:\Users\jslee02\dev\vcpkg\installed\x86-windows\include;CURL_INC=-IC:\Users\jslee02\dev\vcpkg\installed\x86-windows\include;SQLITE_INC=-IC:\Users\jslee02\dev\vcpkg\installed\x86-windows\include;MYSQL_INC_DIR=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\include\mysql;PG_INC_DIR=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\include;OPENJPEG_ENABLED=YES;OPENJPEG_CFLAGS=-IC:\Users\jslee02\dev\vcpkg\installed\x86-windows\include;OPENJPEG_VERSION=20100;WEBP_ENABLED=YES;WEBP_CFLAGS=-IC:\Users\jslee02\dev\vcpkg\installed\x86-windows\include;LIBXML2_INC=-IC:\Users\jslee02\dev\vcpkg\installed\x86-windows\include;PNG_EXTERNAL_LIB=1;PNGDIR=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\include;MSVC_VER=1900;WITH_PDB=1;CXX_CRT_FLAGS=/MD;PROJ_LIBRARY=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\lib\proj.lib;PNG_LIB=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\lib\libpng16.lib;GEOS_LIB=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\lib\geos_c.lib;EXPAT_LIB=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\lib\expat.lib;CURL_LIB=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\lib\libcurl.lib wsock32.lib wldap32.lib winmm.lib;SQLITE_LIB=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\lib\sqlite3.lib;MYSQL_LIB=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\lib\libmysql.lib;PG_LIB=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\lib\libpq.lib;OPENJPEG_LIB=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\lib\openjp2.lib;WEBP_LIBS=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\lib\webp.lib;LIBXML2_LIB=C:\Users\jslee02\dev\vcpkg\installed\x86-windows\lib\libxml2.lib
Working Directory: C:/Users/jslee02/dev/vcpkg/buildtrees/gdal/src-x86-windows-release/gdal-2.2.2
See logs for more information:
C:\Users\jslee02\dev\vcpkg\buildtrees\gdal\nmake-build-x86-windows-release-out.log
C:\Users\jslee02\dev\vcpkg\buildtrees\gdal\nmake-build-x86-windows-release-err.log
Call Stack (most recent call first):
C:/Users/jslee02/dev/vcpkg/ports/gdal/portfile.cmake:172 (vcpkg_execute_required_process)
C:/Users/jslee02/dev/vcpkg/scripts/ports.cmake:72 (include)
Error: Building package gdal:x86-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:x86-windows
Vcpkg version: 0.0.101-2018-01-11-6bdc3bf9eb5cc93e579cddcbb01c41e991082c8c
Additionally, attach any relevant sections from the log files above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment