当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
29 Star 134 Fork 313

OpenHarmony / build_lite
暂停

 / 详情

No option 'riscv32-unknown-elf-gcc_path' in section: 'ndk'

已完成
任务
创建于  
2020-09-11 14:26

该问题是怎么引起的?

after
repo init -u https://gitee.com/openharmony/manifest.git -b master
repo sync
run "python build.py wifiiot"

重现步骤

run "python build.py wifiiot"

报错信息

No option 'riscv32-unknown-elf-gcc_path' in section: 'ndk'
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

评论 (2)

刘允礼 创建了任务
刘允礼 关联仓库设置为OpenHarmony/build_lite
展开全部操作日志

需要加上文檔中的 riscv 庫,或者看看這個 Dockerfile

!1:add dockerFile

cd /tools &&
curl -LO http://tools.harmonyos.com/mirrors/gcc_riscv32/7.3.0/linux/gcc_riscv32-linux-7.3.0.tar.gz &&
tar xvf /tools/gcc_riscv32-linux-7.3.0.tar.gz &&
echo "export PATH=/tools/gcc_riscv32/bin:$PATH" >> /etc/profile

刘允礼 任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
Python
1
https://gitee.com/openharmony/build_lite.git
git@gitee.com:openharmony/build_lite.git
openharmony
build_lite
build_lite

搜索帮助