skip to Main Content

I want to use AWS sdk for my c++ project.
I am using cmake command like this:

find_package(AWSSDK REQUIRED COMPONENTS sqs)

I have an error

CMake Error at MyDirr/CMakeLists.txt:17 (find_package):
  By not providing "FindAWSSDK.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "AWSSDK", but
  CMake did not find one.

I did

 brew install awscli  
 which aws                # prints: /opt/homebrew/bin/aws

How to install AWSSDK into my c++ project?

2

Answers


  1. To use the AWS SDK for C++, first build the SDK from source and then install it locally. This process differs depending if you are building on Windows or MAC/Linux.

    These instructions are documented in the AWS DEV Guide for C++. Look at this topic:

    Get the AWS SDK for C++ from source code

    Follow these instructions to install AWS SDK for C++ into your project.

    Login or Signup to reply.
  2. FYI, the awscli is the AWS command line. Completely different from the AWS SDK for C++.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search