Closed zchrissirhcz closed 5 years ago
Hi @zchrissirhcz, Please install the English language package of Visual Studio following these steps:
You can install zlib again after install the English language package successfully.
Thanks.
@wangli28 Thanks for your reply. My questions: 1) Its a warning that my VS2017 does not with English language pack, not an error. If this is the root cause that I can't install boost via vcpkg, it should give user "error" instead of "warning. 2) I've tested again, on my another machine: Installed vs2017 without English language first. Then, install English language pack separately. After that, I download and installed vcpkg, and use vcpkg to install boost. It still gives message that there's no English language pack in my VS2017, and downloading procedure works... Part of the log:
D:\work\vcpkg>.\vcpkg install boost:x64-windows
The following packages will be built and installed:
boost[core]:x64-windows
* boost-accumulators[core]:x64-windows
* boost-algorithm[core]:x64-windows
* boost-align[core]:x64-windows
* boost-any[core]:x64-windows
* boost-asio[core]:x64-windows
* boost-assign[core]:x64-windows
* boost-atomic[core]:x64-windows
* boost-beast[core]:x64-windows
* boost-bimap[core]:x64-windows
* boost-callable-traits[core]:x64-windows
* boost-chrono[core]:x64-windows
* boost-circular-buffer[core]:x64-windows
* boost-compute[core]:x64-windows
* boost-container[core]:x64-windows
* boost-context[core]:x64-windows
* boost-contract[core]:x64-windows
* boost-convert[core]:x64-windows
* boost-coroutine[core]:x64-windows
* boost-coroutine2[core]:x64-windows
* boost-crc[core]:x64-windows
* boost-date-time[core]:x64-windows
* boost-disjoint-sets[core]:x64-windows
* boost-dll[core]:x64-windows
* boost-dynamic-bitset[core]:x64-windows
* boost-endian[core]:x64-windows
* boost-exception[core]:x64-windows
* boost-fiber[core]:x64-windows
* boost-filesystem[core]:x64-windows
* boost-flyweight[core]:x64-windows
* boost-foreach[core]:x64-windows
* boost-format[core]:x64-windows
* boost-functional[core]:x64-windows
* boost-geometry[core]:x64-windows
* boost-gil[core]:x64-windows
* boost-graph[core]:x64-windows
* boost-graph-parallel[core]:x64-windows
* boost-hana[core]:x64-windows
* boost-heap[core]:x64-windows
* boost-histogram[core]:x64-windows
* boost-hof[core]:x64-windows
* boost-icl[core]:x64-windows
* boost-interprocess[core]:x64-windows
* boost-interval[core]:x64-windows
* boost-intrusive[core]:x64-windows
* boost-io[core]:x64-windows
* boost-iostreams[core]:x64-windows
* boost-lambda[core]:x64-windows
* boost-lexical-cast[core]:x64-windows
* boost-local-function[core]:x64-windows
* boost-locale[core]:x64-windows
* boost-lockfree[core]:x64-windows
* boost-log[core]:x64-windows
* boost-logic[core]:x64-windows
* boost-math[core]:x64-windows
* boost-metaparse[core]:x64-windows
* boost-mp11[core]:x64-windows
* boost-msm[core]:x64-windows
* boost-multi-array[core]:x64-windows
* boost-multi-index[core]:x64-windows
* boost-multiprecision[core]:x64-windows
* boost-odeint[core]:x64-windows
* boost-outcome[core]:x64-windows
* boost-parameter[core]:x64-windows
* boost-parameter-python[core]:x64-windows
* boost-phoenix[core]:x64-windows
* boost-poly-collection[core]:x64-windows
* boost-polygon[core]:x64-windows
* boost-pool[core]:x64-windows
* boost-process[core]:x64-windows
* boost-program-options[core]:x64-windows
* boost-property-map[core]:x64-windows
* boost-property-tree[core]:x64-windows
* boost-proto[core]:x64-windows
* boost-ptr-container[core]:x64-windows
* boost-python[core]:x64-windows
* boost-qvm[core]:x64-windows
* boost-random[core]:x64-windows
* boost-ratio[core]:x64-windows
* boost-rational[core]:x64-windows
* boost-safe-numerics[core]:x64-windows
* boost-scope-exit[core]:x64-windows
* boost-serialization[core]:x64-windows
* boost-signals2[core]:x64-windows
* boost-sort[core]:x64-windows
* boost-spirit[core]:x64-windows
* boost-stacktrace[core]:x64-windows
* boost-statechart[core]:x64-windows
* boost-system[core]:x64-windows
* boost-test[core]:x64-windows
* boost-thread[core]:x64-windows
* boost-timer[core]:x64-windows
* boost-tokenizer[core]:x64-windows
* boost-tti[core]:x64-windows
* boost-type-erasure[core]:x64-windows
* boost-ublas[core]:x64-windows
* boost-units[core]:x64-windows
* boost-unordered[core]:x64-windows
* boost-uuid[core]:x64-windows
* boost-variant[core]:x64-windows
* boost-vmd[core]:x64-windows
* boost-wave[core]:x64-windows
* boost-winapi[core]:x64-windows
* boost-xpressive[core]:x64-windows
* boost-yap[core]:x64-windows
* bzip2[core]:x64-windows
* openssl[core]:x64-windows
* openssl-windows[core]:x64-windows
* python3[core]:x64-windows
* zlib[core]:x64-windows
* zstd[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/111: bzip2:x64-windows
Building package bzip2[core]:x64-windows...
Warning: The following VS instances are excluded because the English language pack is unavailable.
C:\Program Files (x86)\Microsoft Visual Studio 12.0\
Please install the English language pack.
-- Downloading https://github.com/past-due/bzip2-mirror/releases/download/v1.0.6/bzip2-1.0.6.tar.gz...
-- Extracting source D:/work/vcpkg/downloads/bzip2-1.0.6.tar.gz
-- Applying patch fix-import-export-macros.patch
-- Using source at D:/work/vcpkg/buildtrees/bzip2/src/1.0.6-8d81d2ad2b
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Performing post-build validation
-- Performing post-build validation done
Building package bzip2[core]:x64-windows... done
Installing package bzip2[core]:x64-windows...
Installing package bzip2[core]:x64-windows... done
Elapsed time for package bzip2:x64-windows: 15.1 s
Starting package 2/111: zlib:x64-windows
Building package zlib[core]:x64-windows...
already run: vcpkg update
and still got:
Additional packages (*) will be modified to complete this operation. Starting package 1/118: boost-build:x64-windows Building package boost-build[core]:x64-windows... Warning: The following VS instances are excluded because the English language p ck is unavailable. D:\soft\Microsoft Visual Studio\2017\Community Please install the English language pack. CMake Error at scripts/ports.cmake:63 (message): Unable to empty directory: E:/soft/vcpkg/packages/boost-build_x64-windows
Error: Building package boost-build: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: boost-build:x64-windows Vcpkg version: 2019.06.26-nohash