• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Building Source Code
2
3
4With DevEco Device Tool, you can easily build source code of the Hi3516DV300 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.
5
6
7> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
8>
9> The build environment of Hi3516DV300 is Ubuntu.
10
11
121. Click **Project Settings** on the menu bar to access the Hi3516DV300 project configuration page.
13
14   ![en-us_image_0000001274745038](figures/en-us_image_0000001274745038.png)
15
162. On the **Tool Chain** tab page, DevEco Device Tool automatically checks whether the dependent compiler toolchain is complete. If a message is displayed indicating that some tools are missing, click **Install** to automatically install the required tools.
17
18   ![en-us_image_0000001307480750](figures/en-us_image_0000001307480750.png)
19
203. Install the toolchain related to Hi3516DV300. Certain tools may require the root access to install. In this case, enter the user password in the **TERMINAL** window.
21
22   > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**
23   >
24   > - If pip fails to be installed, [change the Python source](https://device.harmonyos.com/en/docs/documentation/guide/ide-set-python-source-0000001227639986) and try again.
25   > - If APT fails to be installed, [change the APT source](https://device.harmonyos.com/en/docs/documentation/guide/faq-toolchain-install-0000001301623822) and try again.
26
27   ![en-us_image_0000001360080305](figures/en-us_image_0000001360080305.png)
28
29   After the toolchain is automatically installed, the figure below is displayed.
30
31   ![en-us_image_0000001307320918](figures/en-us_image_0000001307320918.png)
32
334. On the **ipcamera_hispark_taurus** tab page, set **build_type**, whose default value is **debug**.
34
35   ![en-us_image_0000001307160958](figures/en-us_image_0000001307160958.png)
36
375. Choose **PROJECT TASKS** > **ipcamera_hispark_taurus** > **Build** to start building.
38
39   ![en-us_image_0000001360439881](figures/en-us_image_0000001360439881.png)
40
416. Wait until **SUCCESS** is displayed in the **TERMINAL** window, indicating that the build is complete.
42
43   ![en-us_image_0000001307480754](figures/en-us_image_0000001307480754.png)
44
45   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](quickstart-ide-3516-burn.md).
46