Friday, July 1, 2022

Visual Studio: Installing packages via vcpkg for x64 configuration

Installing a package in Microsoft Visual Studio using vcpkg is by default for x86 configuration. Example:
vcpkg install uwebsockets

To use the x64 configuration, add the "triplet=x64-windows" parameter:
vcpkg install uwebsockets --triplet=x64-windows

At the end don't forget to do:
vcpkg integrate install

No comments:

Post a Comment