Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (20 loc) · 2.32 KB

sdk-from-pm.md

File metadata and controls

34 lines (20 loc) · 2.32 KB

Getting the AWS SDK for C++ from a package manager

You can use the AWS SDK for C++ in from your code by using a package manager to install the SDK. The correct binaries are automatically included for each runtime/architecture configuration you use — you don’t need to manage these dependencies yourself.

Each package manager is independent and controls its own availability of versions. There is a delay between when a version is released and when it is available through a package manager. The most recent version is always available through installing from source.

vcpkg is the supported package manager. Nuget is no longer being updated with new versions and only provides up to version 1.6 of the AWS SDK for C++.

Getting the SDK using vcpkg

Vcpkg is the recommended package manager. You can use the vcpkg package manager to access AWS SDK for C++ functionality for your project. See instructions for:

Then you can create a simple application to use it:

Getting the SDK using NuGet (deprecated)

Important
You can only use NuGet to install AWS SDK for C++ versions 1.6 and earlier with Microsoft Visual Studio 2015 and 2017.
To install later versions, vcpkg is the recommended package manager.

For AWS SDK for C++ versions 1.6 and earlier, and for Microsoft Visual Studio 2015 and 2017, you can use NuGet to manage dependencies for AWS SDK for C++ projects that you develop with Microsoft Visual C++. To use this procedure, first install NuGet

To install the SDK with NuGet

  1. In Visual Studio, open your project.

  2. In Solution Explorer, right-click your project name, and then choose Manage NuGet Packages.

  3. Select the packages to use by searching for a particular service or library name. For example, you could use a search term such as aws s3 native. Use the search term AWSSDKCPP-service name to find a library for a particular service to your project.

  4. Choose Install to install the libraries and add them to your project.