harmony 鸿蒙Building Source Code
Building Source Code
With DevEco Device Tool, you can easily build source code of the Hi3861V100 development board, thanks to its productivity-boosting features, such as the compiler toolchain, detection of the build environment dependencies, and one-click installation of the dependencies.
NOTE
The build environment of Hi3861V100 is Ubuntu.
- Click Project Settings on the menu bar to access the Hi3861V100 project configuration page.
On the Tool Chain tab page, DevEco Device Tool automatically checks whether the dependent compiler toolchain is complete.
- If any tool is indicated as uninstalled (), click Download Uninstalled Tools to install all the required tools, or click Download next to a tool to install the specific tool.
- If some tool types are missing, click Add Utility to add them.
- If Download is not available for a missing tool, it is not cataloged in DevEco Device Tool. In this case, you need to download the tool to the local host and click Import to import it.
- If the status of OpenHarmony Environment Dependency is abnormal (, click Install.
Certain tools may require the root access to install. For these tools, enter the user password in the TERMINAL window as prompted.
NOTE
- If pip fails to be installed, change the Python source and try again.
- If APT fails to be installed, change the APT source and try again.
After the installation is complete, the status of the tools and environment dependencies is displayed as .
- On the wifiiot_hispark_pegasus tab page, set build_type, whose default value is debug.
- Choose PROJECT TASKS > wifiiot_hispark_pegasus > Build to start building.
- Wait until SUCCESS is displayed in the TERMINAL window, indicating that the build is complete.
After the building is complete, go to the out directory of the project to view the generated files, which are needed for burning an image.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Getting Started with the Standard System with Hi3516 (IDE Mode)
harmony 鸿蒙Getting Started with the Standard System with Hi3516 (CLI Mode)
harmony 鸿蒙Hi3516 Development Board
harmony 鸿蒙Hi3861 Development Board
harmony 鸿蒙RK3568 Development Board
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦