|
|
7 лет назад | |
|---|---|---|
| .. | ||
| cdn | 7 лет назад | |
| ecs | 7 лет назад | |
| imagesearch | 7 лет назад | |
| nlp | 7 лет назад | |
| rds | 7 лет назад | |
| slb | 7 лет назад | |
| vpc | 7 лет назад | |
| CMakeLists.txt | 7 лет назад | |
| README.md | 7 лет назад | |
| README_zh.md | 7 лет назад | |
| utils.h | 7 лет назад | |
cd path/to/aliyun-openapi-cpp-sdk
cd examples
mkdir build
cd build
cmake ..
make -j
Generate Visual Studio solution with the same way as buidl SDK.
Run cmake-ui
select source code path(examples dir) and build path (create build dir in examples dir).
configure
generate
Open alibabacloud-sdk-examples.sln in build directory.
Build -> Build Solution
configure accessKeyId and accessKeySecret via env and then Run.
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
...
Configure env according to your windows OS.
Run .exe file in command window in directory build\bin\Release