Comments (8)
Hi,
Thanks for the question. We asked one of our C++ SDK engineers, and he suggested that there might be a compatibility issue with the version of GCC you're using. Do you know what version of GCC you're compiling with? GCC 4.8 does not support C++11, and the C++ SDK source code is full of C++11 syntax. So that could explain the issue. But if not, please let us know. Thanks!
David
from aws-doc-sdk-examples.
Hi,
Thanks for your reply. I am using GCC 5.4.
from aws-doc-sdk-examples.
Can you paste your cmake command arguments please?
from aws-doc-sdk-examples.
~/aws-doc-sdk-examples/cpp/s3-build$ cmake -Daws-sdk-cpp_DIR=~/build_aws-sdk-cpp/ ../example_code/s3
output:
-- Configuring done
-- Generating done
-- Build files have been written to: /home/local/ANT/alanhli/aws-doc-sdk-examples/cpp/s3-build
from aws-doc-sdk-examples.
cmake success, but make failed.
from aws-doc-sdk-examples.
In cpp/example_code/s3/get_bucket_policy.cpp:54, outcome.GetResult().GetPolicy() returns a Aws::IOStream reference, it's not a std::ostream in behind. We could either get the content from the buffer, since it's example code, the content may not exceed the buffer, or we could loop the stream and output the contents to another Aws::String object.
from aws-doc-sdk-examples.
Thanks @singku (and for the pull request that fixes it)! 👍
from aws-doc-sdk-examples.
Since @singku's PR fixed the issue, I'm closing this. Please re-open or start a new issue if there are still problems... Thanks!
from aws-doc-sdk-examples.
Related Issues (20)
- Remove most Java SecretsManager examples
- Remove most Rust SecretsManager examples
- Remove Ford from FordGPT
- [Enhancement]: Java V2 SQS Manual retry example
- Cpp: Change CMake files to handle static builds
- .NET: convert legacy Pinpoint examples
- Tools - Ailly POC for Workflows
- [Bug]: Go Cloudwatch CreateCustomMetric example does not display errors
- Epic: SSM Getting Started Scenario
- SNS Request for SDK for Java 2.x - from SIM
- .NET Redshift Getting Started Scenerio
- Go Redshift Getting Started Scenario
- Metadata: non-localizable text in descriptions must be marked as noloc or code
- Javascript Language Level Linting README
- Start a Scout for AWS Key Management Service
- Update HealthImaging workflow specification
- Workflow scout for automatically migrating Cognito users with a `MigrateUser` Lambda trigger
- Workflow scout for writing custom activity logs for Cognito authentication with a `PostAuthentication` Lambda trigger
- [Bug]: Java SDK V2 Step Functions main/resources misspelling
- codebuild
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-doc-sdk-examples.