zhangzifa 5f3caa1943 add examples and build with as many cpus as possible 7 years ago
..
cdn 5f3caa1943 add examples and build with as many cpus as possible 7 years ago
ecs 5f3caa1943 add examples and build with as many cpus as possible 7 years ago
imagesearch 5f3caa1943 add examples and build with as many cpus as possible 7 years ago
nlp 5f3caa1943 add examples and build with as many cpus as possible 7 years ago
rds 5f3caa1943 add examples and build with as many cpus as possible 7 years ago
slb 5f3caa1943 add examples and build with as many cpus as possible 7 years ago
vpc 5f3caa1943 add examples and build with as many cpus as possible 7 years ago
CMakeLists.txt 5f3caa1943 add examples and build with as many cpus as possible 7 years ago
README.md 5f3caa1943 add examples and build with as many cpus as possible 7 years ago
utils.h 5f3caa1943 add examples and build with as many cpus as possible 7 years ago

README.md

how to use examples

1. install sdk

cd path/to/aliyun-openapi-cpp-sdk
./build_sdk.sh

2. build examples

cd path/to/aliyun-openapi-cpp-sdk
cd examples
mkdir build
cd build
cmake ..
make -j

3. run examples

configure accessKeyId and accessKeySecret via env.

export ENV_AccessKeyId="your-accessKeyId"
export ENV_AccessKeySecret="your-accessKeySecret"
cd path/to/aliyun-openapi-cpp-sdk
cd examples/build/bin

# run ecs_demo
./ecs_demo
...