1826
- 收藏
- 点赞
- 分享
- 举报
完整编译Hi3519V101_SDK_V1.0.1.0遇到的问题及处理方法
转载:https://blog.csdn.net/Mengxihe29/article/details/52439098?locationNum=14&fps=1
问题1:
解开发布包,直接编译sample,报错
/home/wigewige/share/develop/kandao/hisi/yak-0928/KD-Hisi3519v101-SRC/mpp_big-little/sample/hifb/../common/sample_comm.h:45:21: fatal error: hi_mipi.h: No such file or directory
#include "hi_mipi.h"
^
compilation terminated.
解决
先编译OSDRV
问题2
make all
~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/opensource/kernel/linux-3.18.y ~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv
"mkimage" command not found - U-Boot images will not be built
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv$ sudo apt-get install u-boot-tools
问题3
遇到编译mkyaffs2 x64 impatition i386
gcc -o mkyaffs2image100 mkyaffs2image.o yaffs_ecc.o yaffs_packedtags2.o yaffs_tagsvalidity.o oob_config_v100.o -static
/usr/bin/ld: i386:x86-64 architecture of input file `mkyaffs2image.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `yaffs_ecc.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `yaffs_packedtags2.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `yaffs_tagsvalidity.o' is incompatible with i386 output
collect2: error: ld returned 1 exit status
make[2]: *** [mkyaffs2image100] Error 1
make[2]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/mkyaffs2image/mkyaffs2image'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/mkyaffs2image'
make: *** [hipctools] Error 2
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/mkyaffs2image/mkyaffs2image$ make clean
问题4
CC compr_zlib.o
compr_zlib.c:39:18: fatal error: zlib.h: No such file or directory
#include
^
compilation terminated.
make[2]: *** [/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0/compr_zlib.o] Error 1
make[2]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0'
make[1]: *** [/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/sbin/mkfs.jffs2] Error 2
make[1]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool'
make: *** [hipctools] Error 2
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0$ sudo apt-get install zlib1g-dev
问题5
CC compr_zlib.o
CC compr_lzo.o
compr_lzo.c:31:23: fatal error: lzo/lzo1x.h: No such file or directory
#include
^
compilation terminated.
make: *** [/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0/compr_lzo.o] Error 1
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0$ sudo apt-get install liblzo2-dev
问题6
configure: error: ncurses or ncursesw selected, but library not found (--without-ncurses to disable)
make[1]: *** [/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/cramfs_tool/tmp/sbin/mkfs.cramfs] Error 1
make[1]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/cramfs_tool'
make: *** [hipctools] Error 2
解决
sudo apt-get install libncurses5-dev libncursesw5-dev
问题7
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
make[2]: Entering directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool/lzma-4.32.7'
make[2]: *** No targets specified and no makefile found. Stop.
make[2]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool/lzma-4.32.7'
~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool
cp: cannot stat ‘/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool/lzma-4.32.7/src/lzma/lzma’: No such file or directory
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool'
make: *** [hipctools] Error 2
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv$
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool/lzma-4.32.7$ sudo apt-get install g++
问题1:
解开发布包,直接编译sample,报错
/home/wigewige/share/develop/kandao/hisi/yak-0928/KD-Hisi3519v101-SRC/mpp_big-little/sample/hifb/../common/sample_comm.h:45:21: fatal error: hi_mipi.h: No such file or directory
#include "hi_mipi.h"
^
compilation terminated.
解决
先编译OSDRV
问题2
make all
~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/opensource/kernel/linux-3.18.y ~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv
"mkimage" command not found - U-Boot images will not be built
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv$ sudo apt-get install u-boot-tools
问题3
遇到编译mkyaffs2 x64 impatition i386
gcc -o mkyaffs2image100 mkyaffs2image.o yaffs_ecc.o yaffs_packedtags2.o yaffs_tagsvalidity.o oob_config_v100.o -static
/usr/bin/ld: i386:x86-64 architecture of input file `mkyaffs2image.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `yaffs_ecc.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `yaffs_packedtags2.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `yaffs_tagsvalidity.o' is incompatible with i386 output
collect2: error: ld returned 1 exit status
make[2]: *** [mkyaffs2image100] Error 1
make[2]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/mkyaffs2image/mkyaffs2image'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/mkyaffs2image'
make: *** [hipctools] Error 2
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/mkyaffs2image/mkyaffs2image$ make clean
问题4
CC compr_zlib.o
compr_zlib.c:39:18: fatal error: zlib.h: No such file or directory
#include
^
compilation terminated.
make[2]: *** [/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0/compr_zlib.o] Error 1
make[2]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0'
make[1]: *** [/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/sbin/mkfs.jffs2] Error 2
make[1]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool'
make: *** [hipctools] Error 2
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0$ sudo apt-get install zlib1g-dev
问题5
CC compr_zlib.o
CC compr_lzo.o
compr_lzo.c:31:23: fatal error: lzo/lzo1x.h: No such file or directory
#include
^
compilation terminated.
make: *** [/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0/compr_lzo.o] Error 1
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/jffs2_tool/tmp/mtd-utils-1.5.0$ sudo apt-get install liblzo2-dev
问题6
configure: error: ncurses or ncursesw selected, but library not found (--without-ncurses to disable)
make[1]: *** [/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/cramfs_tool/tmp/sbin/mkfs.cramfs] Error 1
make[1]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/cramfs_tool'
make: *** [hipctools] Error 2
解决
sudo apt-get install libncurses5-dev libncursesw5-dev
问题7
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
make[2]: Entering directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool/lzma-4.32.7'
make[2]: *** No targets specified and no makefile found. Stop.
make[2]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool/lzma-4.32.7'
~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool
cp: cannot stat ‘/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool/lzma-4.32.7/src/lzma/lzma’: No such file or directory
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/wigewige/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool'
make: *** [hipctools] Error 2
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv$
解决
wigewige@ubuntu:~/share/develop/kandao/hisi/Hi3519V101_SDK_V1.0.1.0/osdrv/tools/pc/lzma_tool/lzma-4.32.7$ sudo apt-get install g++
我来回答
回答0个
时间排序
认可量排序
暂无数据
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-08-07 14:43:43
-
2018-08-07 14:34:47
-
2019-10-12 08:43:10
-
2017-09-26 16:15:32
-
2019-08-22 11:25:07
-
2018-11-26 17:45:40
-
2017-12-06 14:29:28
-
2020-05-15 10:29:29
-
2019-06-10 11:17:48
-
2018-01-17 14:09:31
-
2018-08-20 10:53:24
-
2019-04-11 15:13:48
-
2017-07-29 11:16:58
-
2018-05-06 21:42:55
-
2017-10-31 19:12:52
-
2019-04-13 17:16:08
-
2019-06-13 20:17:32
-
2017-12-06 10:26:46
-
2017-12-07 09:44:34
-
2018-07-07 21:21:40
更多相似问答
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
-
10求HI3519DV500_SDK_V2.0.1.1
-
5有偿求HI3516DV500 + OV5647驱动
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认