-
推荐系统Ubuntu 2204
-
必须安装的软件
apt-get install curl build-essential gcc g++ make ninja-build cmake libffi-dev e2fsprogs pkg-config flex bison perl bc openssl libssl-dev libelf-dev binutils binutils-dev libdwarf-dev u-boot-tools mtd-utils cpio device-tree-compiler net-tools openssh-server git python3-pip git-lfs repo ccache
-
修改/usr/bin/repo文件,源改成清华
REPO_URL = "https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/"
-
设置~/.pip/pip.config
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install] trusted-host = https://pypi.tuna.tsinghua.edu.cn -
安装hb工具
python3 -m pip install --user build/hb
-
sh改为bash shell
sudo dpkg-reconfigure dash
-
如果运行hb build报错,尝试运行hb env 看看提示,是不是有哪个组件没有安装?按照提示安装。
OpenHarmony系统编译环境
ssmile2023-11-19 5:02
相关推荐
北京麟卓6 天前
卓奕引擎×OrangePi 5B开发板 | 面向开源鸿蒙的一站式安卓兼容验证方案Industio_触觉智能9 天前
开源鸿蒙OpenHarmony再进阶,OneConnect规范即将升级为国家级行业标准北京麟卓10 天前
鸿蒙平板生态建设遇阻?卓奕引擎:安卓应用快速迁移+迁移成本直降80%以上Industio_触觉智能1 个月前
瑞芯微RK3576落地智能农业新生态,鸿蒙农机平板应用场景拓展fakerth1 个月前
【OpenHarmony】communication_ipc模块Industio_触觉智能2 个月前
瑞芯微RK3576迷你工控整机边缘计算盒子规格书参数配置性能说明,触觉智能IPC7609深开鸿2 个月前
福田区全栈式鸿蒙AI数智机关入选全市首批OR示范应用项目,深开鸿筑牢政务安全底座fakerth2 个月前
【OpenHarmony】startup_init 模块weixin_386468962 个月前
openharmony 6.0编译rk3568过程记录