完善资料让更多小伙伴认识你,还能领取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个回答
|
|
问题解决了吗?鸿蒙缺大咖加持,所以他推不动,没有做产品的公司愿意用
|
|
|
|
只有小组成员才能发言,加入小组>>
2195个成员聚集在这个小组
加入小组618 浏览 0 评论
【星闪派物联网开发套件体验连载】用HiHope星闪server端BearPi星闪client端互相发代码控制对方板载灯
1056 浏览 0 评论
【星闪派物联网开发套件体验连载】用HiHope星闪server端发代码控制BearPi
620 浏览 0 评论
【星闪派物联网开发套件体验连载】智能交通灯--云端查看,远程控制视频
1048 浏览 0 评论
884 浏览 2 评论
9319浏览 10评论
1838浏览 3评论
1083浏览 2评论
926浏览 2评论
886浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-4 01:41 , Processed in 0.516756 second(s), Total 53, Slave 45 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号