Code: Select all
steve@steve-vm:~$ git clone https://github.com/LuckfoxTECH/luckfox_pico_rkmpi_example
Cloning into 'luckfox_pico_rkmpi_example'...
remote: Enumerating objects: 1459, done.
remote: Counting objects: 100% (109/109), done.
remote: Compressing objects: 100% (63/63), done.
remote: Total 1459 (delta 60), reused 46 (delta 46), pack-reused 1350 (from 1)
Receiving objects: 100% (1459/1459), 52.92 MiB | 20.61 MiB/s, done.
Resolving deltas: 100% (731/731), done.
steve@steve-vm:~$ cd luckfox_pico_rkmpi_example/
steve@steve-vm:~/luckfox_pico_rkmpi_example$ ls
3rdparty build.sh CMakeLists.txt example images include install lib README_CN.md README.md
steve@steve-vm:~/luckfox_pico_rkmpi_example$ export LUCKFOX_SDK_PATH=/home/steve/luckfox-pico/
steve@steve-vm:~/luckfox_pico_rkmpi_example$ export GLIBC_COMPILER=/home/steve/arm-rockchip830-linux-uclibcgnueabihf/bin/arm-rockchip830-linux-uclibcgnueabihf-
steve@steve-vm:~/luckfox_pico_rkmpi_example$ ./build.sh
1) uclibc
2) glibc
Enter your choice [1-2]: 1
You selected: uclibc
你选择了: uclibc
1) luckfox_pico_rtsp_opencv 3) luckfox_pico_rtsp_retinaface 5) luckfox_pico_rtsp_yolov5
2) luckfox_pico_rtsp_opencv_capture 4) luckfox_pico_rtsp_retinaface_osd
Enter your choice [1-5]: 5
You selected: luckfox_pico_rtsp_yolov5
你选择了: luckfox_pico_rtsp_yolov5
-- Selected libc type: uclibc
-- Selected source directory: example/luckfox_pico_rtsp_yolov5
-- Set project name: luckfox_pico_rtsp_yolov5
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/steve/luckfox-pico//tools/linux/toolchain/arm-rockchip830-linux-uclibcgnueabihf/bin/arm-rockchip830-linux-uclibcgnueabihf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/steve/luckfox-pico//tools/linux/toolchain/arm-rockchip830-linux-uclibcgnueabihf/bin/arm-rockchip830-linux-uclibcgnueabihf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at lib/uclibc/lib/cmake/opencv4/OpenCVConfig.cmake:117 (message):
OpenCV: Include directory doesn't exist:
'/home/steve/luckfox_pico_rkmpi_example/lib/uclibc/include/opencv4'.
OpenCV installation may be broken. Skip...
Call Stack (most recent call first):
CMakeLists.txt:54 (find_package)
-- Found OpenCV: /home/steve/luckfox_pico_rkmpi_example/lib/uclibc (found version "4.10.0")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- model dir PATH: example/luckfox_pico_rtsp_yolov5/model
-- Configuring done (0.5s)
-- Generating done (0.0s)
-- Build files have been written to: /home/steve/luckfox_pico_rkmpi_example/build
[ 20%] Building CXX object CMakeFiles/luckfox_pico_rtsp_yolov5.dir/example/luckfox_pico_rtsp_yolov5/src/luckfox_mpi.cc.o
[ 40%] Building CXX object CMakeFiles/luckfox_pico_rtsp_yolov5.dir/example/luckfox_pico_rtsp_yolov5/src/main.cc.o
[ 60%] Building CXX object CMakeFiles/luckfox_pico_rtsp_yolov5.dir/example/luckfox_pico_rtsp_yolov5/src/postprocess.cc.o
[ 80%] Building CXX object CMakeFiles/luckfox_pico_rtsp_yolov5.dir/example/luckfox_pico_rtsp_yolov5/src/yolov5.cc.o
[100%] Linking CXX executable luckfox_pico_rtsp_yolov5
[100%] Built target luckfox_pico_rtsp_yolov5
Install the project...
-- Install configuration: ""
-- Installing: /home/steve/luckfox_pico_rkmpi_example/install/uclibc/luckfox_pico_rtsp_yolov5_demo/luckfox_pico_rtsp_yolov5
-- Set non-toolchain portion of runtime path of "/home/steve/luckfox_pico_rkmpi_example/install/uclibc/luckfox_pico_rtsp_yolov5_demo/luckfox_pico_rtsp_yolov5" to "$ORIGIN/lib"
-- Up-to-date: /home/steve/luckfox_pico_rkmpi_example/install/uclibc/luckfox_pico_rtsp_yolov5_demo/model/anchors_yolov5.txt
-- Up-to-date: /home/steve/luckfox_pico_rkmpi_example/install/uclibc/luckfox_pico_rtsp_yolov5_demo/model/coco_80_labels_list.txt
-- Up-to-date: /home/steve/luckfox_pico_rkmpi_example/install/uclibc/luckfox_pico_rtsp_yolov5_demo/model/yolov5.rknn
steve@steve-vm:~/luckfox_pico_rkmpi_example$ ls install/
glibc uclibc
steve@steve-vm:~/luckfox_pico_rkmpi_example$
以上是我编译luckfox_pico_rkmpi_example项目的流程,cmake有个警告,而且完成后include文件夹下也没有deployment 文件夹