C++ Library Manager for Windows, Linux, and MacOS

Overview

Vcpkg: Overview

中文总览 Español 한국어 Français

Vcpkg helps you manage C and C++ libraries on Windows, Linux and MacOS. This tool and ecosystem are constantly evolving, and we always appreciate contributions!

If you've never used vcpkg before, or if you're trying to figure out how to use vcpkg, check out our Getting Started section for how to start using vcpkg.

For short description of available commands, once you've installed vcpkg, you can run vcpkg help, or vcpkg help [command] for command-specific help.

Build Status

Table of Contents

Getting Started

First, follow the quick start guide for either Windows, or macOS and Linux, depending on what you're using.

For more information, see Installing and Using Packages. If a library you need is not present in the vcpkg catalog, you can open an issue on the GitHub repo where the vcpkg team and community can see it, and potentially add the port to vcpkg.

After you've gotten vcpkg installed and working, you may wish to add tab completion to your shell.

Finally, if you're interested in the future of vcpkg, check out the manifest guide! This is an experimental feature and will likely have bugs, so try it out and open all the issues!

Quick Start: Windows

Prerequisites:

  • Windows 7 or newer
  • Git
  • Visual Studio 2015 Update 3 or greater with the English language pack

First, download and bootstrap vcpkg itself; it can be installed anywhere, but generally we recommend using vcpkg as a submodule for CMake projects, and installing it globally for Visual Studio projects. We recommend somewhere like C:\src\vcpkg or C:\dev\vcpkg, since otherwise you may run into path issues for some port build systems.

> git clone https://github.com/microsoft/vcpkg
> .\vcpkg\bootstrap-vcpkg.bat

To install the libraries for your project, run:

> .\vcpkg\vcpkg install [packages to install]

You can also search for the libraries you need with the search subcommand:

> .\vcpkg\vcpkg search [search term]

In order to use vcpkg with Visual Studio, run the following command (may require administrator elevation):

> .\vcpkg\vcpkg integrate install

After this, you can now create a New non-CMake Project (or open an existing one). All installed libraries are immediately ready to be #include'd and used in your project without additional configuration.

If you're using CMake with Visual Studio, continue here.

In order to use vcpkg with CMake outside of an IDE, you can use the toolchain file:

> cmake -B [build directory] -S . -DCMAKE_TOOLCHAIN_FILE=[path to vcpkg]/scripts/buildsystems/vcpkg.cmake
> cmake --build [build directory]

With CMake, you will still need to find_package and the like to use the libraries. Check out the CMake section for more information, including on using CMake with an IDE.

For any other tools, including Visual Studio Code, check out the integration guide.

Quick Start: Unix

Prerequisites for Linux:

Prerequisites for macOS:

First, download and bootstrap vcpkg itself; it can be installed anywhere, but generally we recommend using vcpkg as a submodule for CMake projects.

$ git clone https://github.com/microsoft/vcpkg
$ ./vcpkg/bootstrap-vcpkg.sh

To install the libraries for your project, run:

$ ./vcpkg/vcpkg install [packages to install]

You can also search for the libraries you need with the search subcommand:

$ ./vcpkg/vcpkg search [search term]

In order to use vcpkg with CMake, you can use the toolchain file:

$ cmake -B [build directory] -S . -DCMAKE_TOOLCHAIN_FILE=[path to vcpkg]/scripts/buildsystems/vcpkg.cmake
$ cmake --build [build directory]

With CMake, you will still need to find_package and the like to use the libraries. Check out the CMake section for more information on how best to use vcpkg with CMake, and CMake Tools for VSCode.

For any other tools, check out the integration guide.

Installing Linux Developer Tools

Across the different distros of Linux, there are different packages you'll need to install:

  • Debian, Ubuntu, popOS, and other Debian-based distributions:
$ sudo apt-get update
$ sudo apt-get install build-essential tar curl zip unzip
  • CentOS
$ sudo yum install centos-release-scl
$ sudo yum install devtoolset-7
$ scl enable devtoolset-7 bash

For any other distributions, make sure you're installing g++ 6 or above. If you want to add instructions for your specific distro, please open a PR!

Installing macOS Developer Tools

On macOS 10.15, the only thing you should need to do is run the following in your terminal:

$ xcode-select --install

Then follow along with the prompts in the windows that comes up.

On macOS 10.14 and previous, you'll also need to install g++ from homebrew; follow the instructions in the following section.

Installing GCC for macOS before 10.15

This will only be necessary if you're using a macOS version from before 10.15. Installing homebrew should be very easy; check out <brew.sh> for more information, but at its simplest, run the following command:

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Then, in order to grab an up-to-date version of gcc, run the following:

$ brew install gcc

You'll then be able to bootstrap vcpkg along with the quick start guide

Using vcpkg with CMake

If you're using vcpkg with CMake, the following may help!

Visual Studio Code with CMake Tools

Adding the following to your workspace settings.json will make CMake Tools automatically use vcpkg for libraries:

{
  "cmake.configureSettings": {
    "CMAKE_TOOLCHAIN_FILE": "[vcpkg root]/scripts/buildsystems/vcpkg.cmake"
  }
}

Vcpkg with Visual Studio CMake Projects

Open the CMake Settings Editor, and under CMake toolchain file, add the path to the vcpkg toolchain file:

[vcpkg root]/scripts/buildsystems/vcpkg.cmake

Vcpkg with CLion

Open the Toolchains settings (File > Settings on Windows and Linux, CLion > Preferences on macOS), and go to the CMake settings (Build, Execution, Deployment > CMake). Finally, in CMake options, add the following line:

-DCMAKE_TOOLCHAIN_FILE=[vcpkg root]/scripts/buildsystems/vcpkg.cmake

Unfortunately, you'll have to add this to each profile.

Vcpkg as a Submodule

When using vcpkg as a submodule of your project, you can add the following to your CMakeLists.txt before the first project() call, instead of passing CMAKE_TOOLCHAIN_FILE to the cmake invocation.

set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_SOURCE_DIR}/vcpkg/scripts/buildsystems/vcpkg.cmake
  CACHE STRING "Vcpkg toolchain file")

This will still allow people to not use vcpkg, by passing the CMAKE_TOOLCHAIN_FILE directly, but it will make the configure-build step slightly easier.

Tab-Completion/Auto-Completion

vcpkg supports auto-completion of commands, package names, and options in both powershell and bash. To enable tab-completion in the shell of your choice, run:

> .\vcpkg integrate powershell

or

$ ./vcpkg integrate bash

depending on the shell you use, then restart your console.

Examples

See the documentation for specific walkthroughs, including installing and using a package, adding a new package from a zipfile, and adding a new package from a GitHub repo.

Our docs are now also available online at ReadTheDocs: https://vcpkg.readthedocs.io/!

See a 4 minute video demo.

Contributing

Vcpkg is an open source project, and is thus built with your contributions. Here are some ways you can contribute:

Please refer to our Contributing Guide for more details.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or email [email protected] with any additional questions or comments.

License

The code in this repository is licensed under the MIT License.

Telemetry

vcpkg collects usage data in order to help us improve your experience. The data collected by Microsoft is anonymous. You can opt-out of telemetry by re-running the bootstrap-vcpkg script with -disableMetrics, passing --disable-metrics to vcpkg on the command line, or by setting the VCPKG_DISABLE_METRICS environment variable.

Read more about vcpkg telemetry at docs/about/privacy.md

Comments
  • [new port] gtk 3.24.34 port

    [new port] gtk 3.24.34 port

    New port: gtk 3.24.34 (some software still requires GTK3)

    • What does your PR fix?

    • Which triplets are supported/not supported? Have you updated the CI baseline?

    all

    Yes

    • If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

    Yes

    If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

    category:new-port depends:different-pr 
    opened by mkhon 131
  • [wxwidgets] Fix usage, add cmake options

    [wxwidgets] Fix usage, add cmake options

    This PR will:

    • Automatically call wx-config and parse out cxxflags in vcpkg-cmake-wrapper.
    • Export all targets.
    • Fix the ouput path by running wx-config --libs.

    Fixes #17072.

    Upstream PR: https://github.com/wxWidgets/wxWidgets/pull/2391

    category:port-bug info:internal depends:upstream-changes 
    opened by JackBoosY 128
  • [OpenCV] Update to v4.1.1

    [OpenCV] Update to v4.1.1

    Any feedback is welcome!

    fixes: #2065 fixes: #2749 fixes: #2799 fixes: #3095 fixes: #3418 fixes: #4160 fixes: #4601 fixes: #4725 fixes: #4758 fixes: #5101 fixes: #5557 fixes: #5876 fixes: #6728 fixes: #6994

    opened by cenit 121
  • [opencv4] update to v4.3

    [opencv4] update to v4.3

    It should be complete now

    Fixes: #11557 Closes: #8557 Fixes: #11138 Fixes: #10188 Closes: #8655 Closes: #8549 Closes: #3196 Fixes: #7981 Closes: #7913 Closes: #7856 Fixes: #4907 Closes: #9607 Fixes: #7572 Closes: #8175

    category:port-update info:reviewed 
    opened by cenit 111
  • More or less completely rewritten tensorflow-cc port

    More or less completely rewritten tensorflow-cc port

    • fixes static builds
    • upgrades tensorflow from v1.14 to recent v2.3, fixing #9141
    • upgrades bazel from v0.25.2 to v3.1, hopefully fixing #7995
    • requires PR #12926 (merged in this branch; need to resolve conflict once PR #12926 is merged into master)
    category:port-feature category:port-update category:tool-update 
    opened by jgehw 103
  • [OpenMVG/OpenMVS] fix tools

    [OpenMVG/OpenMVS] fix tools

    Upgrade SuiteSparse, add new vlfeat port, restore the custom FindLAPACK (for clapack) I wrote one year ago that went lost (and with it each and every port depending on clapack was broken again on linux), remove the unnecessary FindBLAS module, and finally

    • add openMVG tools
    • fix openMVG build error
    • enable cuda on openMVS
    • handle openMVS tools properly

    along the way, it fixes: #12387 (a working qt5 was necessary to build tools cited above) and fixes many problems encountered along the way towards a working solution

    category:port-feature category:port-bug info:reviewed 
    opened by cenit 92
  • [Qt6|6.1.0] Add new ports.

    [Qt6|6.1.0] Add new ports.

    closes #15029

    Current Status:

    • added all 6.1.0 ports which I know of (does it work? Who knows?)

    Current questions:

    • Port naming? qt6-qtbase? Only qtbase? (since qt wants to get rid of the version number anyway)
    • Features? Too many? Will never be all tested. (at least I will only be going for the default set.)

    Depends:

    • [x] #14308
    • [x] #14395 (ZSTD)
    • [x] #14530 (harfbuzz)
    • [x] another PR copying pdbs for vcpkg_copy_tools
    • [x] https://bugreports.qt.io/browse/QTBUG-88457 (qtdeclarative x64-windows-static; not in beta5; probably in beta6)
    • [x] open upstream issues
    • [x] https://bugreports.qt.io/browse/QTBUG-89204 (solved by own patch)
    • [x] https://bugreports.qt.io/browse/QTBUG-89203 (solved by own patch)
    • [x] https://bugreports.qt.io/browse/QTBUG-89280 (solved by own patch)
    • [x] https://bugreports.qt.io/browse/QTBUG-89374 (solved by own patch)
    • [x] fix import prefix correction in vcpkg_fixup_cmake_targets as mentioned in https://github.com/microsoft/vcpkg/pull/12215#discussion_r454579077. (Corrected it in another way for this PR)
    • [x] #15049
    • [x] #15144
    category:new-port info:reviewed 
    opened by Neumann-A 89
  • [openssl] update to 3.0.2

    [openssl] update to 3.0.2

    Describe the pull request This PR updates openssl to version 3.0.2. ~~The consensus is to update openssl and to create a new port called openssl1 for future updates to openssl 1.1.1. No port depends or should ever depend on openssl1. All ports that were incompatible to OpenSSL 3 were updated or patched.~~

    See below.

    • What does your PR fix?

      Fixes #20031

    • Which triplets are supported/not supported? Have you updated the CI baseline?

      ~~Yes, skip openssl1 on all triplets~~

    • Does your PR follow the maintainer guide?

      Yes

    • If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

      Yes

    category:port-update info:reviewed 
    opened by Thomas1664 87
  • [eigen3] Update to 3.4.0

    [eigen3] Update to 3.4.0

    Describe the pull request

    • What does your PR fix?

      Updates Eigen to 3.4.0

    • Which triplets are supported/not supported? Have you updated the [CI baseline]

      all

    • Does your PR follow the [maintainer guide]

      Yes

    • If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

      Yes

    I think this is good to go but have opened it as a draft as it is my first time.

    category:port-update info:reviewed 
    opened by spinicist 83
  • [new port] at-spi2-atk 2.38.0 port

    [new port] at-spi2-atk 2.38.0 port

    at-spi2-atk 2.38.0 port at-spi2-core 2.44.1 port

    Describe the pull request

    • What does your PR fix?

    The port provides at-spi2-atk dependency needed by gtk3

    • Which triplets are supported/not supported? Have you updated the CI baseline?

    linux

    Yes

    • If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

    Yes

    If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

    category:new-port depends:vm-update 
    opened by mkhon 79
  • [android] vcpkg_configure_make correct set flags for android build

    [android] vcpkg_configure_make correct set flags for android build

    vcpkg_configure_make properly set CFLAGS, CXXFLAGS, LDFLAG, CC and CXX env variables now for android cross compilation.

    • Which triplets are supported/not supported? Mostly android triplets,

    • Have you updated the CI baseline? - no

    • Does your PR follow the maintainer guide? yes

    category:tool-update 
    opened by xandox 79
  • [liblzma] Build error

    [liblzma] Build error

    Package: liblzma[core]:x64-windows -> 5.4.0

    Host Environment

    • Host: x64-windows
    • Compiler: MSVC 19.34.31937.0
    • vcpkg-tool version: 2022-12-14-7ae0d8527fb488fde10a89c2813802dc9b03b6f9 vcpkg-scripts version: 12c2a93b4 2023-01-05 (2 days ago)

    To Reproduce

    vcpkg install pcl:x64-windows

    Failure logs

    -- Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=cfhcable;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=pilotfiber;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=gigenet;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=versaweb;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=ayera;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netactuate;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=phoenixnap;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=astuteinternet;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=freefr;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netcologne;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=deac-riga;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=excellmedia;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=iweb;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=jaist;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=jztkft;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=managedway;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=nchc;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netix;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=ufpr;https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=tenet -> xz-5.4.0.tar.xz...
    [DEBUG] To include the environment variables in debug output, pass --debug-env
    [DEBUG] Feature flag 'binarycaching' unset
    [DEBUG] Feature flag 'compilertracking' unset
    [DEBUG] Feature flag 'registries' unset
    [DEBUG] Feature flag 'versions' unset
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=cfhcable
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=pilotfiber
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=gigenet
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=versaweb
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=ayera
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netactuate
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=phoenixnap
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=astuteinternet
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=freefr
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netcologne
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=deac-riga
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=excellmedia
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=iweb
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=jaist
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=jztkft
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=managedway
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=nchc
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netix
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=ufpr
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    Downloading https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=tenet
    warning: Download failed -- retrying after 1000ms
    warning: Download failed -- retrying after 2000ms
    warning: Download failed -- retrying after 4000ms
    error: Failed to download from mirror set
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=cfhcable: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=cfhcable: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=cfhcable: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=cfhcable: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=pilotfiber: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=pilotfiber: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=pilotfiber: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=pilotfiber: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=gigenet: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=gigenet: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=gigenet: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=gigenet: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=versaweb: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=versaweb: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=versaweb: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=versaweb: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=ayera: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=ayera: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=ayera: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=ayera: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netactuate: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netactuate: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netactuate: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netactuate: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=phoenixnap: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=phoenixnap: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=phoenixnap: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=phoenixnap: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=astuteinternet: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=astuteinternet: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=astuteinternet: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=astuteinternet: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=freefr: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=freefr: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=freefr: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=freefr: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netcologne: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netcologne: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netcologne: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netcologne: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=deac-riga: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=deac-riga: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=deac-riga: WinHttpReceiveResponse failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=deac-riga: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=excellmedia: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=excellmedia: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=excellmedia: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=excellmedia: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=iweb: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=iweb: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=iweb: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=iweb: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=jaist: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=jaist: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=jaist: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=jaist: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=jztkft: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=jztkft: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=jztkft: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=jztkft: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=managedway: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=managedway: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=managedway: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=managedway: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=nchc: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=nchc: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=nchc: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=nchc: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netix: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netix: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netix: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=netix: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=ufpr: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=ufpr: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=ufpr: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=ufpr: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=tenet: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=tenet: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=tenet: WinHttpSendRequest failed with exit code 12002
    error: https://sourceforge.net/projects/lzmautils//files/xz-5.4.0.tar.xz/download?use_mirror=tenet: WinHttpSendRequest failed with exit code 12002
    [DEBUG] D:\a\_work\1\s\src\vcpkg\base\downloads.cpp(956): 
    [DEBUG] Time in subprocesses: 0 us
    [DEBUG] Time in parsing JSON: 7 us
    [DEBUG] Time in JSON reader: 0 us
    [DEBUG] Time in filesystem: 5133 us
    [DEBUG] Time in loading ports: 0 us
    [DEBUG] Exiting after 43.97 min (2638301122 us)
    
    CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
          
          Failed to download file with error: 1
          If you use a proxy, please check your proxy setting. Possible causes are:
          
          1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
             to `https://address:port`. This is not correct, because `https://` prefix
             claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
             , etc..) is an HTTP proxy. Try setting `http://address:port` to both
             HTTP_PROXY and HTTPS_PROXY instead.
          
          2. You are using Fiddler. Currently a bug (https://github.com/microsoft/vcpkg/issues/17752)
             will set HTTPS_PROXY to `https://fiddler_address:port` which lead to problem 1 above.
             Workaround is open Windows 10 Settings App, and search for Proxy Configuration page,
             Change `http=address:port;https=address:port` to `address`, and fill the port number.
          
          3. Your proxy's remote server is out of service.
          
          In future vcpkg releases, if you are using Windows, you no longer need to set
          HTTP(S)_PROXY environment variables. Vcpkg will simply apply Windows IE Proxy
          Settings set by your proxy software. See (https://github.com/microsoft/vcpkg-tool/pull/49)
          and (https://github.com/microsoft/vcpkg-tool/pull/77)
          
          Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues
    
    Call Stack (most recent call first):
      scripts/cmake/vcpkg_download_distfile.cmake:273 (z_vcpkg_download_distfile_show_proxy_and_fail)
      scripts/cmake/vcpkg_from_sourceforge.cmake:83 (vcpkg_download_distfile)
      ports/liblzma/portfile.cmake:2 (vcpkg_from_sourceforge)
      scripts/ports.cmake:147 (include)
    
    
    
    

    Additional context

    category:port-bug 
    opened by zamnt 0
  • REGRESSION: xxhash:* failed with FILE_CONFLICTS

    REGRESSION: xxhash:* failed with FILE_CONFLICTS

    REGRESSION: xxhash:* failed with FILE_CONFLICTS and blocks this PR

    Originally posted by @cnSchwarzer in https://github.com/microsoft/vcpkg/issues/28467#issuecomment-1374364956

    opened by cnSchwarzer 1
  • [vtk-dicom] build failure

    [vtk-dicom] build failure

    Host Environment

    • OS: [Windows]
    • Compiler: Visual Studio Community 2022 Release - amd64, in vscode

    Steps to reproduce the behavior:

    Use the vcpkg.json to install vtk-dicom

    Failure logs

    C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake:843 (_find_package): By not providing "FindDICOM.cmake" in CMAKE_MODULE_PATH this project has\nasked CMake to find a package configuration file provided by "DICOM", but\nCMake did not find one.

    Could not find a package configuration file provided by "DICOM-" with any\nof the following names:

    DICOM-Config.cmake dicom-config.cmake

    Additional context

    I found someone who had a similar https://github.com/microsoft/vcpkg/pull/12839.

    But I installed the latest version 0.8.14, and I found the corresponding file in the installation directory. I'm not sure if it's relevant to the above question.

    category:port-bug 
    opened by MikeKen-Ken 0
  • [directx-dxc, directx-headers] ports updated for December 2022 releases

    [directx-dxc, directx-headers] ports updated for December 2022 releases

    directx-headers now provides the same headers as the DirectX Agility SDK 1.608.2. This provides the latest updates as well a refactored D3DX12 helper library.

    directx-dxc has been updated for the December 2022 release of the DirectX Compiler which supports a number of new features, including a new NuGet package. This port also adds support for WSL / Linux x64 and Windows x86 which are both supported in the latest release.

    opened by walbourn 0
  • [efsw] Update to 2023-01-06

    [efsw] Update to 2023-01-06

    • What does your PR fix?

    Update efsw to the most recent commit.

    • Which triplets are supported/not supported? Have you updated the [CI baseline]

    No changes

    • Does your PR follow the [maintainer guide]

    Yes

    • If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

    Yes

    opened by RT222 0
Releases(2022.11.14)
Owner
Microsoft
Open source projects and samples from Microsoft
Microsoft
The decentralized package manager for C++ and friends 🏝️

Buckaroo The decentralized package manager for C++ and friends. Why Buckaroo? Package managers like Yarn and Cargo have shown how productive developer

LoopPerfect 903 Jan 6, 2023
Spack is a package manager, and package managers should be trivial to install.

?? Spack with batteries included (linux/x86_64) Spack is a package manager, and package managers should be trivial to install. This repo offers a sing

Harmen Stoppels 22 Dec 1, 2022
📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.

Setup-free CMake dependency management CPM.cmake is a CMake script that adds dependency management capabilities to CMake. It's built as a thin wrapper

CPM.cmake 1.6k Jan 9, 2023
CMake driven cross-platform package manager for C/C++.

Hunter CMake driven cross-platform package manager for C/C++. Linux, Windows, macOS, iOS, Android, Raspberry Pi, etc. Documentation: https://hunter.re

null 497 Jan 3, 2023
BakePKG is a package archive that can install itself without without a package manager.

BakePKG A bad way of packaging applications. Introduction BakePKG is a package archive that can install itself without without a package manager. The

bread 3 Sep 3, 2022
Conan - The open-source C/C++ package manager

Conan Decentralized, open-source (MIT), C/C++ package manager.

Conan.io 6.5k Jan 6, 2023
C++ Library Manager for Windows, Linux, and MacOS

Vcpkg: Overview 中文总览 Español 한국어 Français Vcpkg helps you manage C and C++ libraries on Windows, Linux and MacOS. This tool and ecosystem are constant

Microsoft 17.5k Jan 1, 2023
C++ Library Manager for Windows, Linux, and MacOS

Vcpkg: Overview 中文总览 Español 한국어 Français Vcpkg helps you manage C and C++ libraries on Windows, Linux and MacOS. This tool and ecosystem are constant

Microsoft 17.5k Jan 4, 2023
C++ Library Manager for Windows, Linux, and MacOS

Vcpkg: Overview 中文总览 Español 한국어 Français Vcpkg helps you manage C and C++ libraries on Windows, Linux and MacOS. This tool and ecosystem are constant

Microsoft 17.5k Jan 4, 2023
Minimal Linux Live (MLL) is a tiny educational Linux distribution, which is designed to be built from scratch by using a collection of automated shell scripts. Minimal Linux Live offers a core environment with just the Linux kernel, GNU C library, and Busybox userland utilities.

Minimal Linux Live (MLL) is a tiny educational Linux distribution, which is designed to be built from scratch by using a collection of automated shell scripts. Minimal Linux Live offers a core environment with just the Linux kernel, GNU C library, and Busybox userland utilities.

John Davidson 1.3k Jan 8, 2023
Header-only C++14 library for getting network addresses associated with network interface without name lookups on Windows, macOS, Linux, and FreeBSD

NetIF Get addresses associated with network interfaces on a system without using name lookups. Header-only, requires C++14. Usage Add the header file

GMLC-TDC 9 Oct 17, 2022
Netif - Header-only C++14 library for getting network addresses associated with network interface without name lookups on Windows, macOS, Linux, and FreeBSD

NetIF Get addresses associated with network interfaces on a system without using name lookups. Header-only, requires C++14. Usage Add the header file

GMLC-TDC 9 Oct 17, 2022
A library to create Windows, macOS, and Linux applications.

LAF: The Lost Application Framework A library to create Windows, macOS, and Linux applications. This library is under active development so we don't p

Aseprite 206 Jan 3, 2023
Dolphin is an emulator for running GameCube and Wii games on Windows, Linux, macOS, and recent Android devices.

Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.

Dolphin Emulator 9.4k Dec 31, 2022
Free open-source modern C++17 / C++20 framework to create console, forms (GUI like WinForms) and unit test applications on Microsoft Windows, Apple macOS and Linux.

xtd Modern C++17/20 framework to create console (CLI), forms (GUI like WinForms) and tunit (unit tests like Microsoft Unit Testing Framework) applicat

Gammasoft 434 Dec 30, 2022
Free open-source modern C++17 / C++20 framework to create console, forms (GUI like WinForms) and unit test applications on Microsoft Windows, Apple macOS and Linux.

xtd Modern C++17/20 framework to create console (CLI), forms (GUI like WinForms) and tunit (unit tests like Microsoft Unit Testing Framework) applicat

Gammasoft 441 Jan 4, 2023
Utility to install kexts, Frameworks and PrivateFrameworks in the System of macOS. For macOS Monterey 12 and Big Sur 11

Command-Line-SnapShot-Mounter Credit: chris1111 Apple This utility uses the macOS terminal Command Line SnapShot Mounter is an utility that allows you

chris1111 23 Jan 8, 2023
Olive is a free non-linear video editor for Windows, macOS, and Linux.

Olive is a free non-linear video editor for Windows, macOS, and Linux.

Olive Team 6.7k Dec 31, 2022
A beginner friendly desktop UI for Tasmota flashed devices for Windows, macOS and Linux.

TasmoManager A beginner friendly desktop UI for Tasmota flashed devices for Windows, macOS and Linux. Features Native Tasmota device discovery (via ta

Tom Butcher 52 Dec 10, 2022
Xournal++ is a handwriting notetaking software with PDF annotation support. Written in C++ with GTK3, supporting Linux (e.g. Ubuntu, Debian, Arch, SUSE), macOS and Windows 10. Supports pen input from devices such as Wacom Tablets.

Xournal++ is a hand note taking software written in C++ with the target of flexibility, functionality and speed. Stroke recognizer and other parts are based on Xournal Code

Xournalpp 7.9k Jan 7, 2023