-
推荐系统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
相关推荐
熊猫钓鱼>_>18 小时前
三方库 NDK 原生模块跨平台适配与调试【鸿蒙心迹】熊猫钓鱼>_>1 天前
平行视界兼容模式与魔法变量配置避坑【鸿蒙心迹】熊猫钓鱼>_>4 天前
碰一碰无网近场文件快传与断点续传【鸿蒙心迹】熊猫钓鱼>_>4 天前
四种书签,一条时间线:一个读书 App 的记忆颗粒与它的边界案例【鸿蒙心迹】熊猫钓鱼>_>5 天前
鸿蒙 PC 三方库适配复盘:libfvad 1.0 —— 把 WebRTC VAD 做成能装进采集链路的静态库熊猫钓鱼>_>6 天前
上架审核常见驳回与隐私合规清单:过审前先自查这 8 条【鸿蒙心迹】熊猫钓鱼>_>6 天前
鸿蒙PC构建实战:hvigor modelVersion 降级 + schema 清理 + ArkTS 编译三连坑完整复盘熊猫钓鱼>_>8 天前
CMP for OpenHarmony 实战:Coil 图片加载库鸿蒙化使用心得进阶的猪10 天前
OpenHarmony应用开发入门:DevEco Studio工程结构解析与应用开发工具链详解fellow9911 天前
DSH Desktop - HarmonyOS Edition