-
推荐系统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
相关推荐
fakerth5 天前
【OpenHarmony】升级服务组件(UpdateService)fakerth6 天前
【OpenHarmony】Updater 升级包安装组件鸿蒙小白龙7 天前
OpenHarmony轻量系统智能模块开发实战指南鸿蒙小白龙7 天前
OpenHarmony轻量系统(Hi3861)RTOS API开发详解夏小鱼的blog16 天前
【HarmonyOS应用开发入门】第四期:ArkTS语言基础(二)黑臂麒麟16 天前
Electron for OpenHarmony 跨平台实战开发(二):文件树组件实现与优化爱艺江河16 天前
[鸿蒙2025领航者闯关]基于MetaStudio的数字人与鸿蒙PC本地智能体融合:金融法务合规业务的技术实现与场景创新fakerth17 天前
【OpenHarmony】Hiview架构鸿蒙小白龙21 天前
鸿蒙UniProton操作系统编译开发指导庄雨山21 天前
Flutter模块化开发实战:跨端视角下与开源鸿蒙开发的异同及融合思路