Downloading and Installing the SDK
This section provides the download and compilation methods for the OBS C SDK.
SDK Download
- Latest version of OBS C SDK source code: Click here to download.
SDK Compilation
You can compile the SDK based on the platform you are using. Before that, you must obtain the SDK source code.
- In Linux:
Go to the source/eSDK_OBS_API/eSDK_OBS_API_C++/ directory and run the following script:
export SPDLOG_VERSION=spdlog-1.9.2
#On an x86 server, run the following command:
bash build.sh sdk
#On an Arm server, run the following command:
bash build_aarch.sh sdk
For details about the parameters, see the comments in the scripts. A sdk.tgz demo package that contains the content shown below is generated.
- In Windows:
Use Visual Studio to open the sln file in source/eSDK_OBS_API/eSDK_OBS_API_C++/sln/vc100/ and generate the obs project. Then, huaweisecurec.lib, huaweisecurec.dll, libeSDKOBS.lib, and libeSDKOBS.dll are generated in the output directory (which can be queried in the project properties).
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot