127 Star 794 Fork 258

小熊派开源社区 / BearPi-HM_Nano

 / 详情

bearpi/bearpi_hm_nano_infrared 编译失败

已完成
创建于  
2021-02-24 10:26

组件包 bearpi/bearpi_hm_nano_infrared 编译失败log

Verbose mode can be enabled via -v, --verbose option
Building in release mode
builder(["out/program"], [])
[WARN] - The license of @bearpi/hm_nano_paho_mqtt is Eclipse Public License - v 1.0. Notice open-source risks.
[WARN] - The license of @ohos/gn is {HPM_GN_INSTALL}/gn/LICENSE. Notice open-source risks.
[WARN] - The license of @ohos/gcc_riscv32 is GPL V2. Notice open-source risks.
Generating Third Party Open Source Notice...
Third Party Open Source Notice generated.
Building distribution: @bearpi/bearpi_hm_nano_infrared
/home/zrx/Documents/DevEco/Projects/test/build/lite/platform/hi3861v100_liteos_riscv/platform.json
/home/zrx/Documents/DevEco/Projects/test/subsystems_product.json
[
'+--@bearpi/bearpi_hm_nano_infrared@1.0.0',
'\xe2\x94\x82 +--@ohos/hiview@1.0.0',
'\xe2\x94\x82 +--@ohos/iot_controller@1.0.0',
'\xe2\x94\x82 +--@ohos/hichainsdk@1.0.0',
'\xe2\x94\x82 +--@ohos/syspara@1.0.0',
'\xe2\x94\x82 +--@ohos/bootstrap@1.0.0',
'\xe2\x94\x82 +--@ohos/token@1.0.0',
'\xe2\x94\x82 +--@bearpi/hm_nano_build@1.0.0',
'\xe2\x94\x82 +--@ohos/wlan@1.0.0',
'\xe2\x94\x82 +--@ohos/system_ability_manager@1.0.0',
'\xe2\x94\x82 +--@ohos/utils@1.0.0',
'\xe2\x94\x82 +--@ohos/xts@1.0.0',
'\xe2\x94\x82 +--@bearpi/hm_nano_hi3861@1.0.0',
'\xe2\x94\x82 +--@ohos/hi3861_adapter@1.0.0',
'\xe2\x94\x82 +--@bearpi/bearpi_hm_nano_infrared_app@1.0.0',
'\xe2\x94\x82 +--@bearpi/hm_nano_paho_mqtt@1.0.0',
'\xe2\x94\x82 +--@ohos/cjson@1.0.0',
'\xe2\x94\x82 +--@ohos/oem_iotlink@1.0.0',
'\xe2\x94\x82 +--@ohos/cmsis@1.0.0',
'\xe2\x94\x82 +--@ohos/soft_bus@1.0.0',
'\xe2\x94\x82 +--@ohos/gn@0.0.1-1525',
'\xe2\x94\x82 +--@ohos/ninja@1.9.1',
'\xe2\x94\x82 +--@ohos/hilog_m@1.0.0',
'\xe2\x94\x82 +--@ohos/unity@1.0.0',
'\xe2\x94\x82 +--@ohos/gcc_riscv32@7.3.1',
'',
''
]
[
'bearpi_hm_nano_infrared',
'hiview',
'iot_controller',
'hichainsdk',
'syspara',
'bootstrap',
'token',
'hm_nano_build',
'wlan',
'system_ability_manager',
'utils',
'xts',
'hm_nano_hi3861',
'hi3861_adapter',
'bearpi_hm_nano_infrared_app',
'hm_nano_paho_mqtt',
'cjson',
'oem_iotlink',
'cmsis',
'soft_bus',
'gn',
'ninja',
'hilog_m',
'unity',
'gcc_riscv32'
]
/home/zrx/Documents/DevEco/Projects/test
comple json generated at /home/zrx/Documents/DevEco/Projects/test/build/lite/product/BearPi-HM_Nano.json, start compile

=== start build ===

ERROR at //build/lite/config/component/lite_component.gni:93:23: Unable to load "/home/zrx/Documents/DevEco/Projects/test/applications/BearPi/BearPi-HM_Nano/sample/e53_IS1_smart_infrared_sample/BUILD.gn".
deps += [ feature_label ]
^------------
you can check build log in /home/zrx/Documents/DevEco/Projects/test/out/BearPi-HM_Nano/build.log
/home/zrx/.hpm/global/gn/gn gen /home/zrx/Documents/DevEco/Projects/test/out/BearPi-HM_Nano --root=. --dotfile=build/lite/.gn --args='product = "BearPi-HM_Nano" ohos_build_type = "release"' failed, return code is 1
usage:
python build.py ipcamera_hi3516dv300
python build.py ipcamera_hi3518ev300
python build.py wifiiot

positional arguments:
product Name of the product

optional arguments:
-h, --help show this help message and exit
-b BUILD_TYPE, --build_type BUILD_TYPE
release or debug version.
-t [TEST [TEST ...]], --test [TEST [TEST ...]]
Compile test suit
-n, --ndk Compile ndk
*** [out/program] Error -1
================================================================================ [FAILED] Took 59.88 seconds ================================================================================
The terminal process "hos 'run', '--environment', 'blank'" terminated with exit code: 1.

评论 (10)

ymassd 创建了任务
ymassd 关联仓库设置为BearPi/BearPi-HM_Nano
展开全部操作日志

截图看一下

ymassd 修改了描述

截图传不上去,我给了log

刚测试了下载下来直接编译是没有问题的,你是否修改了什么文件

我只是个测试,不会修改代码

直接拉下来编译不通过;修改应用目录BearPi-HM_Nano/sample/BUILD.gn第18行'''"e53_IS1_smart_infrared_sample:app",'''为'''"e53_is1_smart_infrared_sample:app",'''就可以编译了。'''e53_IS1_smart_infrared_sample'''应该对应项目文件夹名字吗?

hello ,还有后续吗?

直接拉下来编译不通过;修改应用目录BearPi-HM_Nano/sample/BUILD.gn第18行'''"e53_IS1_smart_infrared_sample:app",'''为'''"e53_is1_smart_infrared_sample:app",'''就可以编译了。'''e53_IS1_smart_infrared_sample'''应该对应项目文件夹名字吗?

@ymassd 这个是我开发说的

这个两个名字确实是要一样的,在我这好像不区分大小写,需要去改一下

这个两个名字确实是要一样的,在我这好像不区分大小写,需要去改一下

@Laowang-BearPi 你还没有修改吗?我刚刚拉取里一遍代码,编译还是报错,请问预计什么时候可以修复?

Laowang-BearPi 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(3)
5370182 bearpi 1608082856
1
https://gitee.com/bearpi/bearpi-hm_nano.git
git@gitee.com:bearpi/bearpi-hm_nano.git
bearpi
bearpi-hm_nano
BearPi-HM_Nano

搜索帮助