Questions tagged [aws-sdk-cpp]
123 questions
1
vote
2 answers
Fatal error condition occurred in c:209: allocator != ((void *)0) - aws-sdk-cpp
I'm having an issue after updating: Upload an object to an Amazon S3 bucket using an AWS SDK:(https://docs.aws.amazon.com/AmazonS3/latest/userguide/example_s3_PutObject_section.html)
int main(int, char **)
{
Aws::SDKOptions options;
…

l12
- 61
- 4
1
vote
3 answers
AWS C++ Lambda - segmentation fault
I have successfully installed an AWS CLI on WSL. In addition I did follow these instructions:
https://aws.amazon.com/blogs/compute/introducing-the-c-lambda-runtime/
Now, the first example works and when I run a testcase all is functioning properly…

Mart
- 475
- 4
- 21
1
vote
0 answers
Enable AWS SDK Service client metrics in C++
I want to enable aws service client metrics in aws sdk c++ , In java v2 we have the option to enable aws sdk service clients metrics like (Pending connection, Max connection) details please refer this page -…

Munis
- 11
- 1
1
vote
1 answer
Why is Aws::String not extending std::string
We previously built aws-sdk-cpp locally and designed a library around it. Now I'm upgrading to use Conan provided aws-sdk-cpp instead of a locally built one, but I'm getting errors from our library.
I call AWS functions such as the…

the_storyteller
- 2,335
- 1
- 26
- 37
1
vote
1 answer
Downloading only specific AWS C++ SDKs using CMake's FetchContent
I'm trying to link-in the AWS C++ SDK for my CMake C++ Project. However, I'm only going to be using a subset of the SDK modules (lambda) and I don't want FetchContent_Declare to clone the entire repository. I know that I can configure the…

user15507541
- 43
- 1
- 3
1
vote
0 answers
Unable to connect to AWS S3 bucket through my DLL Project (written in C++)
I’m trying to integrate AWS S3 bucket into my project (a DLL written in C++). I was successful in creating an independent console application based on the AWS SDK provided for C++ that connects to the bucket and uploads a specific file as per…

Saby
- 11
- 3
1
vote
0 answers
How to perform the "make install" step after building aws-sdk-cpp using Qt Creator and CMake
I am trying to add aws-sdk-cpp as a submodule in my Qt application using Qt Creator and CMake. I want it to build for any platform without doing the building and installing on the command line as described here.
My project structure and…

uniquenamehere
- 1,869
- 3
- 31
- 60
1
vote
1 answer
How to Mock AWS::Transfer::TransferManager class using gmock?
I am using AWS C++ SDK to download/upload files on AWS using AWS::Transfer::TransferManager. I want to unit test client class which makes uses of TransferManager and It requires to mock TransferManager. The AWS TransferManager class is concrete…

Rushin Desai
- 11
- 1
1
vote
0 answers
Curl timeouts when using AWS cpp sdk for Google cloud
I have a Debian 9 client with aws cpp sdk installed. I am using this sdk for Google Cloud Storage. The sdk uses curl to issue requests to the cloud. I have a test program which does a bunch of PUTs to the cloud. I observed that a couple of PUTs…

San
- 11
- 2
1
vote
2 answers
Aws::S3::S3Client constructor very slow
I'm trying to use the AWS C++ SDK to generate a signed URL for S3, however the Aws::S3::S3Client constructor seems very slow. In the following example:
#include
#include
int main() {
Aws::SDKOptions…

wispi
- 431
- 3
- 14
1
vote
1 answer
Process for creating an installer in QT for MacOs and windows
I am in the process of creating an installer for my C++ QT QML program. I am trying to make an installer for the program to test, but am having trouble understanding what exactly I need to do. I only have one dependency that is external which is the…

apaulino
- 103
- 6
1
vote
1 answer
With c++ S3 SDK, ListObjecsV2 with Minio returning no results
Below is some code which puts an object into an s3 bucket, fetches it back, and then tries to list the bucket. The put and get both work fine, but listing the bucket returns no keys (but doesn't error). I can list the bucket using the golang api…

Joseph Victor
- 819
- 6
- 16
1
vote
0 answers
aws-sdk-cpp - undefined reference to Aws::InitAPI in Ubuntu
I am trying to run aws-sdk-cpp in Ubuntu by following the developer guide at https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/basic-use.html.
What I did are:
1. Install the sdk
sudo apt-get install cmake
sudo apt-get install uuid
sudo…

Gold Chicken
- 333
- 6
- 15
1
vote
1 answer
undefined symbol error when loading a module, using AWS C++ SDK, in Freeswitch
I am asking this question again as the mods decided to close my question here as a duplicate, within minutes of it being asked (and also down-voted!!). Now I have gone through all 33 answers of what was thought to be an answer to my solution, but it…

Jack
- 21
- 7
1
vote
2 answers
Maximizing S3 upload performance with AWS C++ SDK
I am using a c5.18xlarge instance with the ENA adapter enabled (so expect to have 25 Gbps connectivity to S3 per AWS support). I am using the AWS C++ SDK (version 1.3.59) on RHEL 7 to upload a 70 GB file to a single S3 object using a 256 MB part…

Adam
- 31
- 3