鸿蒙系统v30能用吗_v30pro升级鸿蒙系统使用感受

鸿蒙系统v30能用吗_v30pro升级鸿蒙系统使用感受鸿蒙鸿蒙发布在gitee上https://gitee.com/openHarmony入门指导,以Hi3516DV300为例https://gitee.com/openharmony/docs/tree/master/quick-start搭建环境在ubuntu18.4上,环境搭建可参考gitee上的入门的指导,编译顺利通过后,回头重点理一下:安装Pythonsudoaptinstall-ypythonsudoaptinstall-ypython3下载编译工具w

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺

鸿蒙

鸿蒙发布在gitee上
https://gitee.com/openHarmony
入门指导,以Hi3516DV300为例

https://gitee.com/openharmony/docs/tree/master/quick-start

搭建环境

在ubuntu18.4上,环境搭建可参考gitee上的入门的指导,编译顺利通过后,回头重点理一下:

  1. 安装Python
sudo apt install -y python
sudo apt install -y python3
  1. 下载编译工具
wget http://tools.harmonyos.com/mirrors/gn/1523/linux/gn.1523.tar
wget http://tools.harmonyos.com/mirrors/ninja/1.9.0/linux/ninja.1.9.0.tar
wget http://tools.harmonyos.com/mirrors/clang/9.0.0-34042/linux/llvm-linux-9.0.0-34042.tar
wget http://tools.harmonyos.com/mirrors/hc-gen/0.65/linux/hc-gen-0.65-linux.tar
  1. 解压
   tar -xvf gn.1523.tar -C ~/
   tar -xvf ninja.1.9.0.tar -C ~/
   tar -xvf llvm-linux-9.0.0-34042.tar -C ~/
   tar -xvf llvm-linux-9.0.0-34042.tar -C ~/
   tar -xvf hc-gen-0.65-linux.tar -C ~/
  1. 设置环境变量:
vim ~/.bashrc
export PATH=~/gn:$PATH
export PATH=~/ninja:$PATH
export PATH=~/llvm/bin:$PATH
export PATH=~/hc-gen:$PATH
export PATH=~/hc-gen:$PATH

在这里插入图片描述
最后别忘了 source ~/.bashrc 使得环境变量生效

系统源码编译

下载系统源码

 wget http://tools.harmonyos.com/mirrors/os/1.0/code-1.0.tar.gz

解压后,编译:

python build.py ipcamera_hi3516dv300 -b debug

编译需要等多几分钟:

conformance/interfaces/timer_settime/5-1 compile PASSED
make[2]: Entering directory '/usr/dopi/harmony/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/speculative'
conformance/interfaces/timer_settime/speculative/12-3 compile PASSED
conformance/interfaces/timer_settime/speculative/12-1 compile PASSED
conformance/interfaces/timer_settime/speculative/12-2 compile PASSED
make[2]: Leaving directory '/usr/dopi/harmony/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/speculative'
make[1]: Leaving directory '/usr/dopi/harmony/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime'
make: Leaving directory '/usr/dopi/harmony/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces'
[1328/1338] STAMP obj/test/xts/acts/open_posix_testsuite/conformance/interfaces/prebuild_ActsOpenPosixTest.stamp
[1329/1338] ACTION //test/xts/acts/open_posix_testsuite/conformance/interfaces:ActsOpenPosixTest(//build/lite/toolchain:linux_x86_64_clang)
[1330/1338] STAMP obj/test/xts/acts/open_posix_testsuite/conformance/interfaces/ActsOpenPosixTest.stamp
[1331/1338] STAMP obj/test/xts/acts/acts_compoment.stamp
[1332/1338] COPY bin/query.bin suites/acts/resource/tools/query.bin
[1333/1338] STAMP obj/test/xts/acts/query_copy.stamp
[1334/1338] ACTION //test/xts/acts:acts(//build/lite/toolchain:linux_x86_64_clang)
[1335/1338] STAMP obj/test/xts/acts/acts.stamp
[1336/1338] STAMP obj/build/lite/ohos.stamp
[1337/1338] ACTION //build/lite:gen_rootfs(//build/lite/toolchain:linux_x86_64_clang)
[1338/1338] STAMP obj/build/lite/gen_rootfs.stamp
ohos ipcamera_hi3516dv300 build success!

看到 ohos ipcamera_hi3516dv300 build success! 应该是编译完成了。
在这里插入图片描述
在这里插入图片描述

下载源码时,就疑惑,鸿蒙和liteOS的关系,编译后,还有liteos.bin,疑惑。

烧录

访问 鸿蒙的IDE网站,里面有详细的介绍:

https://device.harmonyos.com/cn/ide
在这里插入图片描述

总结下烧录工具:

  1. vs code
  2. node.js
    https://nodejs.org/dist/v12.18.3/node-v12.18.3-x64.msi
  3. JDK1.8
链接:https://pan.baidu.com/s/1u6TMZaQ8D-9nIFUSEX1RiA
提取码:ie59

安装教程

https://blog.csdn.net/bestsongs/article/details/104905060

主要是设置环境变量。
4. npm
打开window的命令行工具:

 npm install -g @ohos/hpm-cli

5.下载DevEcoDeviceTool-1.0.0
访问:https://device.harmonyos.com/cn/ide这一步,需要华为账户,有点烦。不过里面有指导如何在vs code上安装DevEcoDeviceTool的文档。
在这里插入图片描述
安装完成后:
在这里插入图片描述
安装C/C++
在这里插入图片描述

  1. 导入代码
    ubuntu中设置共享文件夹
    在这里插入图片描述

windows中能直接通过网络访问ubuntu中的文件夹
在这里插入图片描述
添加驱动网络映射器
在这里插入图片描述

按照IDE的指导导入ubuntu共享的文件夹到vscode
在这里插入图片描述
未完待续…

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/192797.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • 正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程…

    正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程…当电脑出现正在准备配置windows请勿关闭计算机时,一般是您正对windows进行升级,但是这个要是长时间没有反应,我们不能再傻等下去了。可能是电脑出了别的问题了,来看看教程的说法。正在准备配置windows请勿关闭计算机时间长了方法一:强制重新启动电脑(长按电源键然后再按一下),然后会有好多项选择,第一项一般是“正常启动”最后一项是“最后一次正确配置”,选择“最后一次正确配置”(有的电脑可能提…

    2022年6月14日
    109
  • Carson带你学Android:这是一份详细的 Retrofit使用教程(含实例讲解)[通俗易懂]

    前言在Andrroid开发中,网络请求十分常用而在Android网络请求库中,Retrofit是当下最热的一个网络请求库今天,我将献上一份非常详细Retrofitv2.0的使用教程,希望你们会喜欢。如果对Retrofitv2.0的源码感兴趣,可看文章:Android:手把手带你深入剖析Retrofit2.0源码目录![目录](http://upload-

    2022年4月13日
    67
  • redis可视化工具下载_redis集群管理工具

    redis可视化工具下载_redis集群管理工具[i]首页我先把redis的密码设置为:123456redis127.0.0.1:6379>CONFIGSETrequirepass123456OKredis127.0.0.1:6379>AUTH123456Ok[/i][i]该可视化工具github地址[url]https://github.com/caoxinyu/RedisClient[/url][/i…

    2022年10月11日
    5
  • linux开机自启动python脚本_python3执行linux命令

    linux开机自启动python脚本_python3执行linux命令linux重启服务命令重启:service服务名restart或systemctlrestart服务名service和systemctl1.service命令service命令其实是去/etc/init.d目录下,去执行相关程序#service命令启动redis脚本serviceredisstart#直接启动redis脚本/etc/init.d/redisstart#开机自启动…

    2022年10月9日
    3
  • c++入门教程–-12作用域

    c++入门教程–-12作用域

    2021年3月12日
    194
  • C++实现超分辨率 RDN

    C++实现超分辨率 RDNRDN(由残差密集网络实现的图像超分辨率)在《RDN-TensorFlow-master》有一个3倍模型(也只有这一个了):rdn_5_3_64_x3这里用C++实现这个的3倍重建:流程图:密集残差块:这个残差块结构内部和前面的ESRGAN(前面的文章)中的密集残差块是一样的,只是外部有点不同。定义密集残差块:struct密集残差块//4个卷积层…

    2022年6月18日
    27

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号