- 产品文档
- > 存储与 CDN
- > 对象存储
- > AWS S3 兼容
- > AWS S3 SDK
- > S3 CPP SDK
- > 安装
安装
SDK
Github : https://github.com/aws/aws-sdk-cpp
环境要求
Windows
- Visual Studio 2013 或之后的版本
Linux && OSX
- GCC 4.9+
OSX
- Clang 3.3+
安装
Windows
使用vcpkg
1. vcpkg integrate install
2. vcpkg install aws-sdk-cpp:x86-windows
使用NuGet
1. 打开你的工程
2. 在Solution Explorer右击你的工程名,选择Manage NuGet Packages
3. 输入AWSSDKCPP-S3,然后点击安装
源码安装
1. git clone https://github.com/aws/aws-sdk-cpp.git
2. msbuild ALL_BUILD.vcxproj
3. msbuild INSTALL.vcxproj
Linux
Get SDK
git clone https://github.com/aws/aws-sdk-cpp.git
Dependencies
1. Debian/Ubuntu-based systems : sudo apt-get install libcurl4-openssl-dev libssl-dev uuid-dev zlib1g-dev libpulse-dev
2. Redhat/Fedora-based systems : sudo dnf install libcurl-devel openssl-devel libuuid-devel pulseaudio-devel
Compile
1. mkdir sdk_build
2. cd sdk_build
3. cmake <path/to/sdk/source>
4. make
Install
sudo make install
OSX
和linux一样,也需要安装相关的依赖库:brew install libcurl4-openssl-dev libssl-dev uuid-dev zlib1g-dev libpulse-dev
之后的编译安装同linux