VCPKG Error

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 8

Microsoft Windows [Version 10.0.18362.

30]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\vcpkg-master>vcpkg
Commands:
vcpkg search [pat] Search for packages available to be built
vcpkg install <pkg>... Install a package
vcpkg remove <pkg>... Uninstall a package
vcpkg remove --outdated Uninstall all out-of-date packages
vcpkg list List installed packages
vcpkg update Display list of packages for updating
vcpkg upgrade Rebuild all outdated packages
vcpkg x-history <pkg> (Experimental) Shows the history of CONTROL
versions of a package
vcpkg hash <file> [alg] Hash a file by specific algorithm, default SHA512
vcpkg help topics Display the list of help topics
vcpkg help <topic> Display help for a specific topic

vcpkg integrate install Make installed packages available user-wide.


Requires admin
privileges on first use
vcpkg integrate remove Remove user-wide integration
vcpkg integrate project Generate a referencing nuget package for
individual VS project use
vcpkg integrate powershell Enable PowerShell tab-completion

vcpkg export <pkg>... [opt]... Exports a package


vcpkg edit <pkg> Open up a port for editing (uses %EDITOR%,
default 'code')
vcpkg import <pkg> Import a pre-built library
vcpkg create <pkg> <url> [archivename]
Create a new package
vcpkg owns <pat> Search for files in installed packages
vcpkg depend-info <pkg>... Display a list of dependencies for packages
vcpkg env Creates a clean shell environment for development
or compiling
vcpkg version Display version information
vcpkg contact Display contact information to send feedback

Options:
--triplet <t> Specify the target architecture triplet. See
'vcpkg help triplet'
(default: %VCPKG_DEFAULT_TRIPLET%)
--overlay-ports=<path> Specify directories to be used when searching for
ports
(also: %VCPKG_OVERLAY_PORTS%)
--overlay-triplets=<path> Specify directories containing triplets files
--binarysource=<path> Add sources for binary caching. See 'vcpkg help
binarycaching'
--downloads-root=<path> Specify the downloads root directory
(default: %VCPKG_DOWNLOADS%)
--vcpkg-root <path> Specify the vcpkg root directory
(default: %VCPKG_ROOT%)
--x-buildtrees-root=<path> (Experimental) Specify the buildtrees root
directory
--x-install-root=<path> (Experimental) Specify the install root directory
--x-packages-root=<path> (Experimental) Specify the packages root
directory
--x-scripts-root=<path> (Experimental) Specify the scripts root directory
@response_file Specify a response file to provide additional
parameters

For more help (including examples) see the accompanying README.md and docs folder.

C:\vcpkg-master>vcpkg upgrade
All installed packages are up-to-date with the local portfiles.

C:\vcpkg-master>vcpkg upgrade
All installed packages are up-to-date with the local portfiles.

C:\vcpkg-master>vcpkg install boost:x86-windows pthreads:x86-windows


Computing installation plan...
A suitable version of cmake was not found (required v3.17.2). Downloading portable
cmake v3.17.2...
Downloading cmake...
https://github.com/Kitware/CMake/releases/download/v3.17.2/cmake-3.17.2-win32-
x86.zip -> C:\vcpkg-master\downloads\cmake-3.17.2-win32-x86.zip
Extracting cmake...
A suitable version of 7zip was not found (required v18.1.0). Downloading portable
7zip v18.1.0...
Downloading 7zip...
https://www.nuget.org/api/v2/package/7-Zip.CommandLine/18.1.0 -> C:\vcpkg-
master\downloads\7-zip.commandline.18.1.0.nupkg
Extracting 7zip...
A suitable version of nuget was not found (required v5.5.1). Downloading portable
nuget v5.5.1...
Downloading nuget...
https://dist.nuget.org/win-x86-commandline/v5.5.1/nuget.exe -> C:\vcpkg-
master\downloads\22ea847d-nuget.exe

C:\vcpkg-master>vcpkg install boost:x86-windows pthreads:x86-windows


Computing installation plan...
A suitable version of cmake was not found (required v3.17.2). Downloading portable
cmake v3.17.2...
Extracting cmake...

C:\vcpkg-master>vcpkg install pthreads:x86-windows


Computing installation plan...
A suitable version of cmake was not found (required v3.17.2). Downloading portable
cmake v3.17.2...
Extracting cmake...
The following packages will be built and installed:
pthreads[core]:x86-windows
Detecting compiler hash for triplet x86-windows...
A suitable version of powershell-core was not found (required v6.2.1). Downloading
portable powershell-core v6.2.1...
Downloading powershell-core...
https://github.com/PowerShell/PowerShell/releases/download/v6.2.1/PowerShell-
6.2.1-win-x86.zip -> C:\vcpkg-master\downloads\PowerShell-6.2.1-win-x86.zip
Extracting powershell-core...
Starting package 1/1: pthreads:x86-windows
Building package pthreads[core]:x86-windows...
Could not locate cached archive:
C:\Users\SAIRAM\AppData\Local\vcpkg\archives\c7\c75841780ff3aa736f89a066259c37ba01b
bc87a.zip
-- Trying auto-select mirror...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download... Failed. Status: 35;"SSL connect error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:152 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror cfhcable...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=cfhcable...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=cfhcable... Failed. Status: 35;"SSL connect error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror pilotfiber...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=pilotfiber...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=pilotfiber... Failed. Status: 35;"SSL connect error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror gigenet...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=gigenet...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=gigenet... Failed. Status: 52;"Server returned
nothing (no headers, no data)"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)
-- Trying mirror versaweb...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=versaweb...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=versaweb... Failed. Status: 35;"SSL connect error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror ayera...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=ayera...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=ayera... Failed. Status: 35;"SSL connect error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror netactuate...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=netactuate...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=netactuate... Failed. Status: 35;"SSL connect error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror phoenixnap...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=phoenixnap...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=phoenixnap... Failed. Status: 52;"Server returned
nothing (no headers, no data)"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)
-- Trying mirror astuteinternet...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=astuteinternet...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=astuteinternet... Failed. Status: 35;"SSL connect
error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror freefr...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=freefr...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=freefr... Failed. Status: 52;"Server returned
nothing (no headers, no data)"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror netcologne...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=netcologne...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=netcologne... Failed. Status: 35;"SSL connect error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror deac-riga...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=deac-riga...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=deac-riga... Failed. Status: 52;"Server returned
nothing (no headers, no data)"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.


Call Stack (most recent call first):
scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror excellmedia...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=excellmedia...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=excellmedia... Failed. Status: 35;"SSL connect
error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror iweb...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=iweb...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=iweb... Failed. Status: 35;"SSL connect error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror jaist...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=jaist...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=jaist... Failed. Status: 35;"SSL connect error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror jztkft...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=jztkft...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=jztkft... Failed. Status: 35;"SSL connect error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):
Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror managedway...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=managedway...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=managedway... Failed. Status: 35;"SSL connect error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror nchc...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=nchc...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=nchc... Failed. Status: 35;"SSL connect error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror netix...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=netix...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=netix... Failed. Status: 35;"SSL connect error"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror ufpr...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=ufpr...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=ufpr... Failed. Status: 52;"Server returned nothing
(no headers, no data)"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

-- Trying mirror tenet...


-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=tenet...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-
v3.0.0.zip/download?use_mirror=tenet... Failed. Status: 52;"Server returned nothing
(no headers, no data)"
CMake Warning at scripts/cmake/vcpkg_download_distfile.cmake:190 (message):

Failed to download file.

Call Stack (most recent call first):


scripts/cmake/vcpkg_from_sourceforge.cmake:167 (vcpkg_download_distfile)
ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

CMake Error at scripts/cmake/vcpkg_from_sourceforge.cmake:182 (message):


Couldn't download source from any of the sourceforge mirrors, please
check your network.
If you use a proxy, please set the HTTPS_PROXY and HTTP_PROXY
environment
variables to "http[s]://user:password@your-proxy-ip-address:port/".
Otherwise, please submit an issue at
https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):


ports/pthreads/portfile.cmake:10 (vcpkg_from_sourceforge)
scripts/ports.cmake:79 (include)

Error: Building package pthreads: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: pthreads:x86-windows
Vcpkg version: 2020.06.15-nohash

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

C:\vcpkg-master>
C:\vcpkg-master>

You might also like