zhangzifa eb7ab33440 add DEBUG switch and fix win build error 7 лет назад
..
cdn 5f3caa1943 add examples and build with as many cpus as possible 7 лет назад
ecs 5f3caa1943 add examples and build with as many cpus as possible 7 лет назад
imagesearch eb7ab33440 add DEBUG switch and fix win build error 7 лет назад
nlp eb7ab33440 add DEBUG switch and fix win build error 7 лет назад
rds 5f3caa1943 add examples and build with as many cpus as possible 7 лет назад
slb 5f3caa1943 add examples and build with as many cpus as possible 7 лет назад
vpc 5f3caa1943 add examples and build with as many cpus as possible 7 лет назад
CMakeLists.txt 5f3caa1943 add examples and build with as many cpus as possible 7 лет назад
README.md 5f3caa1943 add examples and build with as many cpus as possible 7 лет назад
utils.h 5f3caa1943 add examples and build with as many cpus as possible 7 лет назад

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
...