-
推荐系统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_触觉智能5 天前
【开源鸿蒙-AVCodec Kit】音视频编解码封装解封装部件介绍,转自开源鸿蒙官媒OpenAtom OpenHarmonyShiMetaPi12 天前
基于M4-R1开发板的OpenHarmony开发实战丨创建第一个应用工程fakerth21 天前
【OpenHarmony】sensors_miscdevice小器件模块架构fakerth22 天前
【OpenHarmony】医疗传感器模块架构fakerth23 天前
【OpenHarmony】AI引擎模块架构fakerth23 天前
【OpenHarmony】文件访问接口模块架构Industio_触觉智能23 天前
RK3576开发板/核心板应用分享之开源鸿蒙fakerth23 天前
【OpenHarmony】存储管理服务模块架构盆鱼宴之武冈分宴24 天前
flutter openharmony项目新手从0到1的保姆级教程Industio_触觉智能24 天前
开源鸿蒙6.1和8.1版本被确定为LTS建议版本,最新路标正式发布!-转自开源鸿蒙OpenHarmony社区