OpenHarmony开发者论坛

标题: OpenHarmony5.0release编译环境搭建 [打印本页]

作者: M2X_We1L_y3G08    时间: 5 天前
标题: OpenHarmony5.0release编译环境搭建
[md]首先引用

[分享一个配置好的OpenHarmony编译环境(VMware虚拟机镜像) - 文章 OpenHarmony开发者论坛
](https://forums.openharmony.cn/fo ... thread&tid=1030)

[使用上述链接中该开发者分享的虚拟机
](https://forums.openharmony.cn/fo ... thread&tid=1030)

[然后执行
](https://forums.openharmony.cn/fo ... thread&tid=1030)

[
](https://forums.openharmony.cn/fo ... thread&tid=1030)

mkdir -p \~/openharmony/5.0
cd \~/openharmony/5.0
repo init -u [https://gitee.com/openharmony/manifest](https://gitee.com/openharmony/manifest) -b OpenHarmony-5.0-Release --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'

bash build/prebuilts\_download.sh

git config --global --add safe.directory "\*"
./build.sh --product-name rk3568 --ccache

正常每一步执行完都会有======****  successful=======


而本人曾遇到一个错误:

Code: 4000

ninja build error

具体错误内容没有记录下来,花了我好几天解决


错误原因是我的虚拟机文件放在了移动硬盘中且旧电脑内存只有16g,升级内存并将虚拟机放在电脑自带硬盘中就能解决。
[/md]




欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/) Powered by Discuz! X3.5