-
推荐系统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
相关推荐
Industio_触觉智能24 天前
触觉智能RK3576核心板工业应用之软硬件全国产化,成功适配开源鸿蒙OpenHarmony5.0深光标准技术2 个月前
开放鸿蒙OpenHarmony 5.0.0 Release 兼容性测试实战经验分享songze_lee2 个月前
openharmony系统移植之gpu mesa3d适配Unity官方开发者社区2 个月前
UUG杭州站 | 团结引擎1.5.0 OpenHarmony新Feature介绍jklinux2 个月前
OpenHarmony GPIO应用开发-LEDAIGC魔法师2 个月前
轮播图导航组件 | 纯血鸿蒙组件库AUI智驾2 个月前
OpenharmonyOS+RK3568,【编译&烧录】雪域迷影2 个月前
OpenHarmony全局资源调度管控子系统之内存管理部件jklinux2 个月前
OpenHarmony-简单的HDF驱动晚秋大魔王2 个月前
openharmony 4.1 运行busybox工具包(保姆教程)