|
【Linux】
rv1126 SDK编译 opencv 3.4.12
发表于 2022-1-10 10:59:04
浏览:5736
|
回复:2
打印
只看该作者
[复制链接]
楼主
ubuntu 16.04 rv1126_rv1109_linux_release_20211022
按照https://wiki.t-firefly.com/zh_CN/CORE-1126-JD4/hardware.html教程操作:
编译配置选用的 device/rockchip/rv1126_rv1109/aio-rv1126-jd4-BE-45.mk;
全局编译命令: ./build.sh
opencv3 3.4.12 无法编译通过
2022-01-10T10:30:06 libtool: install: /usr/bin/install -c dwebp /home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/target/usr/bin/dwebp
2022-01-10T10:30:06 libtool: install: /usr/bin/install -c cwebp /home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/target/usr/bin/cwebp
2022-01-10T10:30:06 make[4]: Nothing to be done for 'install-exec-am'.
2022-01-10T10:30:06 make[4]: Nothing to be done for 'install-data-am'.
2022-01-10T10:30:06 >>> opencv3 3.4.12 Downloading
2022-01-10T10:30:06 --2022-01-10 10:30:06-- https://github.com/opencv/opencv ... encv3-3.4.12.tar.gz
2022-01-10T10:30:06 Resolving github.com (github.com)... 20.205.243.166
2022-01-10T10:30:06 Connecting to github.com (github.com)|20.205.243.166|:443... connected.
2022-01-10T10:30:36 Unable to establish SSL connection.
2022-01-10T10:30:36 --2022-01-10 10:30:36-- http://sources.buildroot.net/opencv3-3.4.12.tar.gz
2022-01-10T10:30:36 Resolving sources.buildroot.net (sources.buildroot.net)... 172.67.72.56, 104.26.1.37, 104.26.0.37, ...
2022-01-10T10:30:36 Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:80... connected.
2022-01-10T10:30:37 HTTP request sent, awaiting response... 404 Not Found
2022-01-10T10:30:37 2022-01-10 10:30:37 ERROR 404: Not Found.
2022-01-10T10:30:37
2022-01-10T10:30:37 package/pkg-generic.mk:138: recipe for target '/home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/build/opencv3-3.4.12/.stamp_downloaded' failed
2022-01-10T10:30:37 make[1]: *** [/home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/build/opencv3-3.4.12/.stamp_downloaded] Error 1
2022-01-10T10:30:37 /home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/Makefile:16: recipe for target '_all' failed
2022-01-10T10:30:37 make: *** [_all] Error 2
2022-01-10T10:33:16 umask 0022 && make -C /home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot O=/home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109
2022-01-10T10:33:23 /usr/bin/make -j1 O=/home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
2022-01-10T10:33:23 GEN /home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/Makefile
2022-01-10T10:33:25 >>> opencv3 3.4.12 Downloading
2022-01-10T10:33:25 --2022-01-10 10:33:25-- https://github.com/opencv/opencv ... encv3-3.4.12.tar.gz
2022-01-10T10:33:25 Resolving github.com (github.com)... 20.205.243.166
2022-01-10T10:33:25 Connecting to github.com (github.com)|20.205.243.166|:443... connected.
2022-01-10T10:33:26 HTTP request sent, awaiting response... 302 Found
2022-01-10T10:33:26 Location: https://codeload.github.com/opencv/opencv/tar.gz/3.4.12 [following]
2022-01-10T10:33:26 --2022-01-10 10:33:26-- https://codeload.github.com/opencv/opencv/tar.gz/3.4.12
2022-01-10T10:33:26 Resolving codeload.github.com (codeload.github.com)... 20.205.243.165
2022-01-10T10:33:27 Connecting to codeload.github.com (codeload.github.com)|20.205.243.165|:443... connected.
2022-01-10T10:33:28 HTTP request sent, awaiting response... 200 OK
2022-01-10T10:33:28 Length: unspecified [application/x-gzip]
2022-01-10T10:33:28 Saving to: '/home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/build/.opencv3-3.4.12.tar.gz.DXIjVK/output'
2022-01-10T10:33:28
/home/szm/SDK/rv1126_rv [ <=> ] 12.90M 15.9KB/s in 11m 8s
2022-01-10T10:44:37
2022-01-10T10:44:37 2022-01-10 10:44:37 (19.8 KB/s) - Read error at byte 13531842 (Success).Retrying.
2022-01-10T10:44:37
2022-01-10T10:44:38 --2022-01-10 10:44:38-- (try: 2) https://codeload.github.com/opencv/opencv/tar.gz/3.4.12
2022-01-10T10:44:38 Connecting to codeload.github.com (codeload.github.com)|20.205.243.165|:443... connected.
2022-01-10T10:44:39 HTTP request sent, awaiting response... 200 OK
2022-01-10T10:44:39 Length: unspecified [application/x-gzip]
2022-01-10T10:44:39 Saving to: '/home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/build/.opencv3-3.4.12.tar.gz.DXIjVK/output'
2022-01-10T10:44:39
/home/szm/SDK/rv1126_rv [ <=> ] 14.71M 9.14KB/s in 11m 51s
2022-01-10T10:56:32
2022-01-10T10:56:32 2022-01-10 10:56:32 (21.2 KB/s) - '/home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/build/.opencv3-3.4.12.tar.gz.DXIjVK/output' saved [15423443]
2022-01-10T10:56:32
2022-01-10T10:56:32 >>> opencv3 3.4.12 Extracting
2022-01-10T10:56:32 gzip -d -c /home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/dl/opencv3-3.4.12.tar.gz | tar --strip-components=1 -C /home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/build/opencv3-3.4.12 -xf -
2022-01-10T10:56:32
2022-01-10T10:56:32 gzip: /home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/dl/opencv3-3.4.12.tar.gz: unexpected end of file
2022-01-10T10:56:32 tar: Unexpected EOF in archive
2022-01-10T10:56:32 tar: Unexpected EOF in archive
2022-01-10T10:56:32 tar: Error is not recoverable: exiting now
2022-01-10T10:56:32 package/pkg-generic.mk:159: recipe for target '/home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/build/opencv3-3.4.12/.stamp_extracted' failed
2022-01-10T10:56:32 make[1]: *** [/home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/build/opencv3-3.4.12/.stamp_extracted] Error 2
2022-01-10T10:56:32 /home/szm/SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_rv1109/Makefile:16: recipe for target '_all' failed
2022-01-10T10:56:32 make: *** [_all] Error 2
Command exited with non-zero status 1
you take 23:22.42 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 682:
/usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG
|
|