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.
截图看一下
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
截图传不上去,我给了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 ,还有后续吗?
这个两个名字确实是要一样的,在我这好像不区分大小写,需要去改一下
这个两个名字确实是要一样的,在我这好像不区分大小写,需要去改一下
@Laowang-BearPi 你还没有修改吗?我刚刚拉取里一遍代码,编译还是报错,请问预计什么时候可以修复?
已修复
登录 后才可以发表评论