我想在我的实例上使用GNU,使用的是C++的GCC。我关注这个页面:https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/examples-s3-objects.html
并且想要从s3下载一个对象。我将使用GNU编译的GCC。我计划使用本页给出的代码: Makefile 1。在这种情况下,我还需要一个https://github.com/awsdocs/aws-doc-sdk-examples/blob/master/cpp/example_code/s3/get_object.cpp来处理下面的依赖关系吗?
2. Could you please show me the simplest Makefile to use as a proof of concept?#include <aws/s3/S3Client.h>
#include <aws/s3/S3Client.h>
#include <aws/s3/model/GetObjectRequest.h>
#include <fstream>发布于 2018-03-29 02:18:30
使用普通的Makefile来处理依赖项和路径是一件痛苦的事情。我建议您使用CMake。您可以按照此处的说明进行操作:https://aws.amazon.com/blogs/developer/developer-experience-of-the-aws-sdk-for-c-now-simplified-by-cmake/
https://stackoverflow.com/questions/49319276
复制相似问题