Help Center/
Atlas 500 Application/
Software Development Guide/
Running a Code Sample/
HelloDavinci Compilation and Running
Updated on 2022-03-13 GMT+08:00
HelloDavinci Compilation and Running
Prerequisites
- The Atlas 500 DDK has been installed.
- The third-party CMake compilation tool (2.8.4 or later) has been installed.
If the CMake compilation tool is not available, install it by referring to Compiling Service Software Using CMake.
Compilation Procedure
- Copy the samples file obtained in Description of the HelloDavinci File to a directory on the development host.
- Run the export DDK_HOME=Atlas 500 DDK installation directory command.
- Go to the HelloDavinci directory.
- Run the bash build.sh A500 command to perform compilation. After the compilation is successful, a .main executable file and the target dynamic library file are generated in the ${workPath}/out/ directory.
${workPath} indicates the HelloDavinci directory.
- Copy the out folder to Atlas 500 and run the ./out/main command to view the output result. If the following information is displayed, the execution is successful:
Euler:~ # ./out/main Hello Davinci! The sample end!! Euler:~ # cat out/davinci_log_info.txt This message is from HelloDavinci
Parent topic: Running a Code Sample
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot