赞
踩
Hi3861/code-1.0$ python build.py wifiiot
...
[196/197] ACTION //vendor/hisi/hi3861/hi3861:run_wifiiot_scons(//build/lite/toolchain:linux_x86_64_riscv32_gcc)
FAILED: obj/vendor/hisi/hi3861/hi3861/run_wifiiot_scons_build_ext_components.txt
python ../../build/lite/build_ext_components.py --path=../../vendor/hisi/hi3861/hi3861 --command=sh\ hm_build.sh
Python 3.7 or greater required, but you have Python 2.7.16
Traceback (most recent call last):
File “../../build/lite/build_ext_components.py“, line 64, in <module>
sys.exit(main())
File “../../build/lite/build_ext_components.py“, line 58, in main
cmd_exec(args.command)
File “../../build/lite/build_ext_components.py“, line 32, in cmd_exec
raise Exception(“{} failed, return code is {}“.format(cmd, ret_code))
Exception: [\“sh\“, \“hm_build.sh\“] failed, return code is 2
ninja: build stopped: subcommand failed.
you can check build log in /home/davin/workplace/openharmony/Hi3861/code-1.0/out/wifiiot/build.log
/home/davin/ninja/ninja -w dupbuild=warn -C /home/davin/workplace/openharmony/Hi3861/code-1.0/out/wifiiot 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
Hi3861/code-1.0$
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。