完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
按照鸿蒙官方入门教程(https://gitee.com/openharmony/do ... -hi3518-building.md),
环境为Ubuntu18,在编译hi3518环节出现如下错误: eric@eric-VirtualBox:~/code/version$ hb set OHOS Which product do you need? ipcamera_hispark_aries eric@eric-VirtualBox:~/code/version$ hb build -f The target_cpu needs to be specified, default target_cpu=ARM [OHOS WARNING] Failed to find ccache, ccache disabled. [OHOS INFO] root_out_dir=//out/hispark_aries/ipcamera_hispark_aries [OHOS INFO] root_build_dir=//out/hispark_aries/ipcamera_hispark_aries [OHOS INFO] root_gen_dir=//out/hispark_aries/ipcamera_hispark_aries/gen [OHOS INFO] current_toolchain=//build/lite/toolchain:linux_x86_64_ohos_clang [OHOS INFO] host_toolchain=//build/toolchain/linux:clang_x64 [OHOS INFO] [OHOS INFO] args: Namespace(build_platform_name='phone', build_xts=False, example_subsystem_file=None, gn_root_out_dir='/home/eric/code/version/out/hispark_aries/ipcamera_hispark_aries', ignore_api_check=['xts', 'common', 'developertest'], os_level='small', platforms_config_file='/home/eric/code/version/out/preloader/ipcamera_hispark_aries/platforms.build', scalable_build=False, source_root_dir='/home/eric/code/version/', subsystem_config_file='/home/eric/code/version/out/preloader/ipcamera_hispark_aries/subsystem_config.json', target_cpu='arm', target_os='ohos') [OHOS INFO] [OHOS INFO] build configs generation is complete. [OHOS INFO] ohos_build_compiler: clang [OHOS INFO] ohos_kernel_type: liteos_a [OHOS INFO] ERROR at //build/templates/cxx/cxx.gni:501:7: Script returned non-zero exit code. [OHOS INFO] exec_script(external_deps_script, arguments, "string") [OHOS INFO] ^---------- [OHOS INFO] Current dir: /home/eric/code/version/out/hispark_aries/ipcamera_hispark_aries/ [OHOS INFO] Command: /usr/bin/python3 /home/eric/code/version/build/templates/common/external_deps_handler.py --external-deps hilog_native:libhilog ipc:ipc_core --parts-src-flag-file build_configs/parts_src_flag.json --external-deps-temp-file gen/base/hiviewdfx/hidumper/interfaces/innerkits/hidumper__lib_dump_usage_external_deps_temp.json --sdk-base-dir ../../../sdk/ohos-arm --sdk-dir-name sdk/ohos-arm --current-toolchain //build/lite/toolchain:linux_x86_64_ohos_clang [OHOS INFO] Returned 1 and printed out: [OHOS INFO] [OHOS INFO] file '../../../sdk/ohos-arm/hilog_native/sdk_info.json' doesn't exist. [OHOS INFO] [OHOS INFO] stderr: [OHOS INFO] [OHOS INFO] Traceback (most recent call last): [OHOS INFO] File "/home/eric/code/version/build/templates/common/external_deps_handler.py", line 239, in [OHOS INFO] sys.exit(main()) [OHOS INFO] File "/home/eric/code/version/build/templates/common/external_deps_handler.py", line 205, in main [OHOS INFO] sdk_module_info, adapted_ok = _get_external_module_from_sdk( [OHOS INFO] File "/home/eric/code/version/build/templates/common/external_deps_handler.py", line 73, in _get_external_module_from_sdk [OHOS INFO] raise Exception("part '{}' doesn't exist in sdk modules.".format( [OHOS INFO] Exception: part 'hilog_native' doesn't exist in sdk modules. [OHOS INFO] [OHOS INFO] See //base/hiviewdfx/hidumper/interfaces/innerkits/BUILD.gn:31:1: whence it was called. [OHOS INFO] ohos_shared_library("lib_dump_usage") { [OHOS INFO] ^-------------------------------------- [OHOS INFO] See //build/ohos/ohos_kits.gni:67:21: which caused the file to be included. [OHOS INFO] _libs_deps += [ lib_label ] [OHOS INFO] ^-------- [OHOS INFO] liteos_config_file: /home/eric/code/version/vendor/hisilicon/hispark_aries/kernel_configs/debug.config [OHOS INFO] file: /home/eric/code/version/out/hispark_aries/ipcamera_hispark_aries/.ninja_log not exists [OHOS INFO] parse file fail [OHOS ERROR] Please check build log in /home/eric/code/version/out/hispark_aries/ipcamera_hispark_aries/build.log |
|
相关推荐
1 条评论
1个回答
|
|
问题解决了吗?鸿蒙缺大咖加持,所以他推不动,没有做产品的公司愿意用
|
|
|
|
只有小组成员才能发言,加入小组>>
2203个成员聚集在这个小组
加入小组HiSpark IPC AI摄像头(Hi3518E)串口能输入输出吗?
679 浏览 1 评论
【星闪派物联网开发套件体验连载】使用Dockerfile搭建润和WS63E的开发环境
776 浏览 0 评论
【星闪派物联网开发套件体验连载】用HiHope星闪server端BearPi星闪client端互相发代码控制对方板载灯
1174 浏览 0 评论
【星闪派物联网开发套件体验连载】用HiHope星闪server端发代码控制BearPi
714 浏览 0 评论
【星闪派物联网开发套件体验连载】智能交通灯--云端查看,远程控制视频
1183 浏览 0 评论
12029浏览 10评论
1875浏览 3评论
1187浏览 2评论
1014浏览 2评论
971浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-20 09:34 , Processed in 0.641026 second(s), Total 93, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号