当前位置:网站首页>LVGL的一些介绍和移植
LVGL的一些介绍和移植
2022-06-21 23:54:00 【路过的小熊~】
简介
LVGL是一个开源图形库,提供了您创建嵌入式GUI所需的一切,具有易于使用的图形元素,美丽的视觉效果和低内存占用。
源码获取地址
地址:https://github.com/lvgl
从这里可以获取嵌入式端、Linux和Windows给出的lvgl源码demo
移植
因为想偷懒,所以我将lvgl移植到Linux进行一些移植和运行验证
个人移植的源码GitHub地址为:地址https://github.com/xdh16/lv_port_pc_vscode
可以 git clone https://github.com/xdh16/lv_port_pc_vscode
此外由于源码中的库没有合并放一起,所以freetype、lvgl 和 lvgl_drivers 文件夹是空的,所以还要下载相关的库,解压后放到对应的三个文件夹内,3个库的源码路径均以放在了GitHub中
由于官方源码会出现以下错误
cc: error: unrecognized command line option ‘-Wshift-negative-value’
所以需对其源码的makefile进行修改
删除这一行
最后make进行编译
运行demo,结果如下:
到此基本功能已跑通,后面对将发布如何使用LVGL的接口和使用使用中的一些注意事项。
边栏推荐
- 0x00007ffff3d3ecd0 in _ IO_ vfprintf_ internal (s=0x7ffff40b5620 <_IO_2_1_stdout_>
- 状态码总结
- Pytorch learning 02: handwritten digit recognition
- div设置滚动和监听滚动距离
- 【环境踩坑】用opencv打开图片时报错
- Leetcode 279. Carré parfait carré complet (moyen)
- Meetup03 review: introduction to the new version of linkis and the application practice of DSS
- WinCE 下 ListCtl virtual mode的使用
- QT qmediaplayer get audio playback end status
- 记录一次小jsp的bug
猜你喜欢

Tom Ellison, the new CFO of mendix, promoted the next stage of rapid growth of the company through the transformation of the leadership team
![Chapter VIII exercises (45A) [microcomputer principles] [exercises]](/img/79/8311a409113331e72f650a83351b46.png)
Chapter VIII exercises (45A) [microcomputer principles] [exercises]

The importance of rational selection of seal clearance of hydraulic slip ring

位运算位与

The importance of rational selection of seal clearance of hydraulic slip ring

0x00007ffff3d3ecd0 in Io Vfprintf Interne (S = 0x7ffff40b5620 < io 2 1 stdout >

0x00007ffff3d3ecd0 in _ IO_ vfprintf_ internal (s=0x7ffff40b5620 <_IO_2_1_stdout_>

Farm Game

Lecture 3 of Data Engineering Series: characteristic engineering of data centric AI

Version dynamic | exchangis 1.0.0-rc1 version release
随机推荐
0x00007ffff3d3ecd0 in _ IO_ vfprintf_ internal (s=0x7ffff40b5620 <_IO_2_1_stdout_>
DOM 节点
企业可通过4个方法提高数据库安全
在徽商期货开户做期货安全吗?
Leetcode做题目录
pytorch学习13:实现LetNet和学习nn.Module相关基本操作
Why is the sample variance divided by (n-1)
Meetup03 review: introduction to the new version of linkis and the application practice of DSS
pytorch学习01:梯度下降实现简单线性回归
【DailyFresh】课程记录3--商品搜索相关
.NET中获得hInstance的几个方法
PAT(甲) - 1001 A+B Format
redis精讲系列介绍七-过期策略
花了2小时,搭建了一个物联网项目,值了 ~
RISCV 的 cache
2. add two numbers
一文读懂LiveData 粘性事件
旋转框目标检测————关于旋转框定义和解决方案
Is it safe to open an account for futures in Huishang futures?
Go Technology Daily (June 20, 2022) -- go: simple optimization notes