• Lv0
    粉丝0

积分12 / 贡献0

提问1答案被采纳0文章0

作者动态

    OpenHarmony 4.0 beta1 编译dayu210 出错,如何解决?

    alexsuo 显示全部楼层 发表于 2024-1-21 20:43:43

    [OHOS INFO] Excuting ninja command: /home/suo/oh4/prebuilts/build-tools/linux-x86/bin/ninja -w dupbuild=warn -C /home/suo/oh4/out/rk3588 images

    [OHOS ERROR] ninja: error: '../../drivers/peripheral/camera/vdi_base/v4l2/src/camera_dump.cpp', needed by 'obj/drivers/peripheral/camera/vdi_base/v4l2/src/camera_host_vdi_impl_1.0/camera_dump.o', missing and no known rule to make it

    [OHOS ERROR] Traceback (most recent call last): [OHOS ERROR] File "/home/suo/oh4/build/hb/containers/status.py", line 47, in wrapper [OHOS ERROR] return func(*args, **kwargs) [OHOS ERROR] File "/home/suo/oh4/build/hb/modules/ohos_build_module.py", line 67, in run [OHOS ERROR] raise exception [OHOS ERROR] File "/home/suo/oh4/build/hb/modules/ohos_build_module.py", line 65, in run [OHOS ERROR] super().run() [OHOS ERROR] File "/home/suo/oh4/build/hb/modules/interface/build_module_interface.py", line 72, in run [OHOS ERROR] raise exception [OHOS ERROR] File "/home/suo/oh4/build/hb/modules/interface/build_module_interface.py", line 70, in run [OHOS ERROR] self._target_compilation() [OHOS ERROR] File "/home/suo/oh4/build/hb/modules/ohos_build_module.py", line 103, in _target_compilation [OHOS ERROR] self.target_compiler.run() [OHOS ERROR] File "/home/suo/oh4/build/hb/services/ninja.py", line 38, in run [OHOS ERROR] self._execute_ninja_cmd() [OHOS ERROR] File "/home/suo/oh4/build/hb/services/ninja.py", line 69, in _execute_ninja_cmd [OHOS ERROR] SystemUtil.exec_command( [OHOS ERROR] File "/home/suo/oh4/build/hb/util/system_util.py", line 64, in exec_command [OHOS ERROR] LogUtil.get_failed_log(log_path) [OHOS ERROR] File "/home/suo/oh4/build/hb/util/log_util.py", line 192, in get_failed_log [OHOS ERROR] LogUtil.get_ninja_failed_log(log_path) [OHOS ERROR] File "/home/suo/oh4/build/hb/util/log_util.py", line 157, in get_ninja_failed_log [OHOS ERROR] raise OHOSException( [OHOS ERROR] exceptions.ohos_exception.OHOSException: NINJA Failed! Please check error in /home/suo/oh4/out/rk3588/error.log, and for more build information in /home/suo/oh4/out/rk3588/build.log [OHOS ERROR]

    [OHOS ERROR] Code: 4016 [OHOS ERROR] [OHOS ERROR] Reason: NINJA Failed! Please check error in /home/suo/oh4/out/rk3588/error.log, and for more build information in /home/suo/oh4/out/rk3588/build.log [OHOS ERROR] [OHOS ERROR] Error Type: ninja build error: missing and no known rule to make it [OHOS ERROR] [OHOS ERROR] Description: Ninja build error. The ninja build system cannot find the target. [OHOS ERROR] [OHOS ERROR] Solution: Please check the target file is exists. [OHOS ERROR]

    您尚未登录,无法参与评论,登录后可以:
    参与开源共建问题交流
    认同或收藏高质量问答
    获取积分成为开源共建先驱

    精彩评论6

    shixiaocheng

    沙发 发表于 2024-1-23 14:19:51
    //drivers/peripheral/camera/vdi_base/v4l2/src/camera_dump.cpp文件缺失

    alexsuo

    发表于 2024-1-29 18:27  IP属地: 江苏省扬州市

    回复 shixiaocheng: 我这个文件是存在的。

    【1 条回复】

    byrsid

    板凳 发表于 2024-1-29 19:25:34
    同样的问题。

    huyucheng

    地板 发表于 2024-3-7 20:13:29
    一模一样的log,请问有解决吗

    alexsuo

    发表于 2024-3-24 07:17  IP属地: 陕西省西安市

    回复 huyucheng: 截至到现在还没有任何解决方案。

    【1 条回复】

    jzp0409

    5# 发表于 2024-3-27 09:42:58
    主要是因为path不明确,你们把有涉及到path的地方,都 写死.不要用环境变量,那些prodct_company不靠谱。
    比如:
    product_config_path = "//vendor/${product_company}/${product_name}"
    board_camera_path = "//device/board/${product_company}/${product_name}/camera"
    换成:
    product_config_path = "//vendor/hihiope/dayu210"
    board_camera_path = "//device/board/hihope/dayu210/camera"
    共6 条回复,点击查看

    Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

    返回顶部