Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the method of ​ ubuntu compiler

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "what is the method of ubuntu compiler". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what is the method of ubuntu compiler".

Compiler

1. Install the compilation environment

Ubuntu16.04 enter the following command to install the package

Sudo apt-get install cmake

Sudo apt-get install gcc-aarch74-linux-gnu

Sudo apt-get install g++-aarch74-linux-gnu

2. Go to the linux source code rk3399_linux_sdk_v2.0/external/rkssd directory, and the linux source code is under the "iTOP-3399 CD materials\ 20201112\ 05 Linux source code" directory of the CD materials, and use the following command to create a new build,install folder.

Mkdir build install

3. Enter the following command:

Cd build

Cmake.. /-DCMAKE_INSTALL_PREFIX= ".. / install"

4. Enter the following command to compile and install

Make

Make install

There are pictures to be tested in the install/rkssddemo/ssd directory, as shown in the following figure:

6. Copy the compiled rkssddemo on the Ubuntu to the U disk, mount the U disk to the development board, and then copy the rkssddemo to the root directory of the development board, as shown below:

Mount / dev/sda1 / mnt/disk

Cd / mnt/disk

Cp-r rkssddemo/ /

Cd /

Ls rkssddemo/

Chmod 777-R rkssddemo

7. Go to the rkssddemo directory of the development board and run the program, as shown below:

Cd rkssddemo

. / rkssddemo-I ssd/test.jpg-o out.jpg-l ssd/coco_labels_list.txt-b ssd/box_priors.txt-g librkssd.so-p ssd/ssd300_91c_param.rkl-n 91

8. After running the program, out.jpg is generated, out.jpg is copied to U disk, and then it is viewed on Windows. The output image is detected as shown in the following figure:

Thank you for reading, the above is the content of "what is the method of ubuntu compiler?" after the study of this article, I believe you have a deeper understanding of what the method of ubuntu compiler is, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report