代码拉取完成,页面将自动刷新
I tried to build ipcamera_hi3516dv300 with
python3 build.py ipcamera_hi3516dv300
and im getting the following errors
Im using Ubuntu 18.04
libavdevice/alsa_enc.c:40:10: fatal error: 'alsa/asoundlib.h' file not found
#include <alsa/asoundlib.h>
^~~~~~~~~~~~~~~~~~
libavdevice/avfoundation.m:28:9: fatal error: 'AVFoundation/AVFoundation.h' file not found
#import <AVFoundation/AVFoundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavdevice/alsa.c:31:10: fatal error: 'alsa/asoundlib.h' file not found
#include <alsa/asoundlib.h>
^~~~~~~~~~~~~~~~~~
libavdevice/alsa_dec.c:48:10: fatal error: 'alsa/asoundlib.h' file not found
#include <alsa/asoundlib.h>
^~~~~~~~~~~~~~~~~~
libavdevice/caca.c:21:10: fatal error: 'caca.h' file not found
#include <caca.h>
^~~~~~~~
libavdevice/android_camera.c:29:10: fatal error: 'camera/NdkCameraDevice.h' file not found
#include <camera/NdkCameraDevice.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libavdevice/avdevice.c:19:
In file included from ./libavutil/avassert.h:31:
In file included from ./libavutil/avutil.h:296:
In file included from ./libavutil/common.h:491:
In file included from ./libavutil/internal.h:42:
./libavutil/timer.h:37:11: fatal error: 'asm/unistd.h' file not found
# include <asm/unistd.h>
^~~~~~~~~~~~~~
^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from libavdevice/avdevice.c:19:
In file included from ./libavutil/avassert.h:31:
In file included from ./libavutil/avutil.h:296:
In file included from ./libavutil/common.h:491:
In file included from ./libavutil/internal.h:42:
./libavutil/timer.h:37:11: fatal error: 'asm/unistd.h' file not found
# include <asm/unistd.h>
^~~~~~~~~~~~~~
In file included from libavdevice/dshow_common.c:22:
In file included from libavdevice/dshow_capture.h:27:
In file included from libavdevice/avdevice.h:48:
In file included from ./libavutil/log.h:25:
In file included from ./libavutil/avutil.h:296:
In file included from ./libavutil/common.h:491:
In file included from ./libavutil/internal.h:42:
./libavutil/timer.h:37:11: fatal error: 'asm/unistd.h' file not found
# include <asm/unistd.h>
^~~~~~~~~~~~~~
In file included from libavdevice/decklink_enc_c.c:22:
In file included from ./libavformat/avformat.h:317:
In file included from ./libavcodec/avcodec.h:31:
In file included from ./libavutil/samplefmt.h:24:
In file included from ./libavutil/avutil.h:296:
In file included from ./libavutil/common.h:491:
In file included from ./libavutil/internal.h:42:
./libavutil/timer.h:37:11: fatal error: 'asm/unistd.h' file not found
# include <asm/unistd.h>
^~~~~~~~~~~~~~
In file included from libavdevice/bktr.c:27:
In file included from ./libavformat/internal.h:27:
In file included from ./libavformat/avformat.h:317:
In file included from ./libavcodec/avcodec.h:31:
In file included from ./libavutil/samplefmt.h:24:
In file included from ./libavutil/avutil.h:296:
In file included from ./libavutil/common.h:491:
In file included from ./libavutil/internal.h:42:
./libavutil/timer.h:37:11: fatal error: 'asm/unistd.h' file not found
# include <asm/unistd.h>
^~~~~~~~~~~~~~
1 error generated.
1 error generated.
In file included from libavdevice/decklink_dec_c.c:23:
In file included from ./libavformat/avformat.h:317:
In file included from ./libavcodec/avcodec.h:31:
In file included from ./libavutil/samplefmt.h:24:
In file included from ./libavutil/avutil.h:296:
In file included from ./libavutil/common.h:491:
In file included from ./libavutil/internal.h:42:
./libavutil/timer.h:37:11: fatal error: 'asm/unistd.h' file not found
# include <asm/unistd.h>
^~~~~~~~~~~~~~
In file included from libavdevice/dshow.c:22:
In file included from libavdevice/dshow_capture.h:27:
In file included from libavdevice/avdevice.h:48:
In file included from ./libavutil/log.h:25:
In file included from ./libavutil/avutil.h:296:
In file included from ./libavutil/common.h:491:
In file included from ./libavutil/internal.h:42:
./libavutil/timer.h:37:11: fatal error: 'asm/unistd.h' file not found
# include <asm/unistd.h>
^~~~~~~~~~~~~~
In file included from libavdevice/alldevices.c:23:
In file included from ./libavformat/internal.h:27:
In file included from ./libavformat/avformat.h:317:
In file included from ./libavcodec/avcodec.h:31:
In file included from ./libavutil/samplefmt.h:24:
In file included from ./libavutil/avutil.h:296:
In file included from ./libavutil/common.h:491:
In file included from ./libavutil/internal.h:42:
./libavutil/timer.h:37:11: fatal error: 'asm/unistd.h' file not found
# include <asm/unistd.h>
^~~~~~~~~~~~~~
1 error generated.
ffbuild/common.mak:60: recipe for target 'libavdevice/avdevice.o' failed
make[1]: *** [libavdevice/avdevice.o] Error 1
make[1]: *** Waiting for unfinished jobs....
ffbuild/common.mak:60: recipe for target 'libavdevice/caca.o' failed
make[1]: *** [libavdevice/caca.o] Error 1
ffbuild/common.mak:60: recipe for target 'libavdevice/alsa_dec.o' failed
make[1]: *** [libavdevice/alsa_dec.o] Error 1
1 error generated.
1 error generated.
1 error generated.
ffbuild/common.mak:60: recipe for target 'libavdevice/dshow_common.o' failed
make[1]: *** [libavdevice/dshow_common.o] Error 1
ffbuild/common.mak:60: recipe for target 'libavdevice/alsa_enc.o' failed
make[1]: *** [libavdevice/alsa_enc.o] Error 1
ffbuild/common.mak:66: recipe for target 'libavdevice/avfoundation.o' failed
make[1]: *** [libavdevice/avfoundation.o] Error 1
1 error generated.
ffbuild/common.mak:60: recipe for target 'libavdevice/decklink_enc_c.o' failed
make[1]: *** [libavdevice/decklink_enc_c.o] Error 1
1 error generated.
1 error generated.
1 error generated.
ffbuild/common.mak:60: recipe for target 'libavdevice/alldevices.o' failed
make[1]: *** [libavdevice/alldevices.o] Error 1
ffbuild/common.mak:60: recipe for target 'libavdevice/alsa.o' failed
make[1]: *** [libavdevice/alsa.o] Error 1
ffbuild/common.mak:60: recipe for target 'libavdevice/decklink_dec_c.o' failed
make[1]: *** [libavdevice/decklink_dec_c.o] Error 1
1 error generated.
ffbuild/common.mak:60: recipe for target 'libavdevice/bktr.o' failed
make[1]: *** [libavdevice/bktr.o] Error 1
1 error generated.
1 error generated.
ffbuild/common.mak:60: recipe for target 'libavdevice/android_camera.o' failed
make[1]: *** [libavdevice/android_camera.o] Error 1
ffbuild/common.mak:60: recipe for target 'libavdevice/dshow.o' failed
make[1]: *** [libavdevice/dshow.o] Error 1
libavdevice/decklink_common.cpp:28:10: fatal error: 'DeckLinkAPI.h' file not found
#include <DeckLinkAPI.h>
^~~~~~~~~~~~~~~
1 error generated.
ffbuild/common.mak:63: recipe for target 'libavdevice/decklink_common.o' failed
make[1]: *** [libavdevice/decklink_common.o] Error 1
libavdevice/decklink_dec.cpp:33:10: fatal error: 'DeckLinkAPI.h' file not found
#include <DeckLinkAPI.h>
^~~~~~~~~~~~~~~
libavdevice/decklink_enc.cpp:31:10: fatal error: 'DeckLinkAPI.h' file not found
#include <DeckLinkAPI.h>
^~~~~~~~~~~~~~~
1 error generated.
ffbuild/common.mak:63: recipe for target 'libavdevice/decklink_dec.o' failed
make[1]: *** [libavdevice/decklink_dec.o] Error 1
1 error generated.
ffbuild/common.mak:63: recipe for target 'libavdevice/decklink_enc.o' failed
make[1]: *** [libavdevice/decklink_enc.o] Error 1
make[1]: Leaving directory '/home/siju/workspace/harmonyos/vendor/hisi/hi35xx/middleware/source/third_party/ffmpeg/ffmpeg-y'
Makefile:39: recipe for target 'ffmpeg-y' failed
make: *** [ffmpeg-y] Error 2
Traceback (most recent call last):
File "../../build/lite/build_ext_components.py", line 64, in <module>
sys.exit(main())
File "../../build/lite/build_ext_components.py", line 58, in main
cmd_exec(args.command)
File "../../build/lite/build_ext_components.py", line 32, in cmd_exec
raise Exception("{} failed, return code is {}".format(cmd, ret_code))
Exception: ['./build.sh', '/home/siju/workspace/harmonyos/out/ipcamera_hi3516dv300', 'hi3516dv300', 'liteos_a', 'clang', '/home/siju//llvm/bin/..'] failed, return code is 2
[1008/1165] ACTION //kernel/liteos_a:make(//build/lite/toolchain:linux_x86_64_clang)
sh param:hi3516dv300,clang,release
Do i need to install any packages to resolve this errors ?
Please guide me.
Could you upload out/ipcamera_hi3516dv300/build.log ?
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Im not able to upload the file in gitee issue.
You can download the logs from the above wetransfer link.
Thanks for your reply.
ipcamera_hi3518ev300 & ipcamera_hi3516dv300 gives me same error.
Let track the issue here
sudo dpkg-reconfigure dash
And select ** no**
It will change your sh to bash from dash
I will close this issue.
登录 后才可以发表评论