小编给大家分享一下海思SDK在Ubuntu下安装错误问题有哪些,希望大家阅读完这篇文章之后都有所收获,下面让我们一起去探讨吧!
在Ubuntu下安装海思sdk时,直接运行安装脚本,会有如下提示:
./sdk.unpack
./sdk.unpack: 2: ./sdk.unpack: source: not found
./sdk.unpack: 4: ./sdk.unpack: ECHO: not found
./sdk.unpack: 6: ./sdk.unpack: WARN: not found
./sdk.unpack: 7: ./sdk.unpack: WARN: not found
./sdk.unpack: 8: ./sdk.unpack: ECHO: not found
./sdk.unpack: 20: ./sdk.unpack: ECHO: not found
./sdk.unpack: 22: ./sdk.unpack: run_command_progress_float: not found
./sdk.unpack: 24: ./sdk.unpack: ECHO: not found
./sdk.unpack: 26: ./sdk.unpack: run_command_progress_float: not found
./sdk.unpack: 37: ./sdk.unpack: ECHO: not found
mkdir: 已创建目录 'mpp'
./sdk.unpack: 39: ./sdk.unpack: run_command_progress_float: not found
./sdk.unpack: 42: ./sdk.unpack: ECHO: not found
mkdir: 已创建目录 'drv'
./sdk.unpack: 44: ./sdk.unpack: run_command_progress_float: not found
这个问题只需要修改一下sdk.unpack.sh脚本:
把第一行的#!/bin/sh修改为#!/bin/bash即可。
再次运行:
看完了这篇文章,相信你对“海思SDK在Ubuntu下安装错误问题有哪些”有了一定的了解,如果想了解更多相关知识,欢迎关注亿速云行业资讯频道,感谢各位的阅读!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。