-
推荐系统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
相关推荐
songze_lee5 天前
openharmony系统移植之gpu mesa3d适配Unity官方开发者社区5 天前
UUG杭州站 | 团结引擎1.5.0 OpenHarmony新Feature介绍jklinux13 天前
OpenHarmony GPIO应用开发-LEDAIGC魔法师14 天前
轮播图导航组件 | 纯血鸿蒙组件库AUI智驾16 天前
OpenharmonyOS+RK3568,【编译&烧录】雪域迷影17 天前
OpenHarmony全局资源调度管控子系统之内存管理部件jklinux18 天前
OpenHarmony-简单的HDF驱动晚秋大魔王19 天前
openharmony 4.1 运行busybox工具包(保姆教程)雪域迷影24 天前
OpenHarmony之电源模式定制开发指导智驾25 天前
Openharmony 和 HarmonyOS 区别?