lvgl in wsl/ubuntu

in win 10 , install wsl

ubuntu related

install zsh
install sdl, refer to the article “linux 安装 sdl2 错误”

config ubuntu

换源后可能出现错误,(用自带的源也可以的)

N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://mirrors.aliyun.com/ubuntu bionic-backports InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository ‘http://mirrors.aliyun.com/ubuntu bionic-backports InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.

解决上面的问题,要两步!!!!
1, run below command , the key should be the same as in obove warning/error info

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C

2, Update Your Package Lists: After adding the key, update your package lists to ensure that all packages are verified with the new key:

sudo apt update

lvgl compile in linux

1, install sdl lib as descibed in the doc in lv_vs_code project
2, config make file as descriced in the above doc
3, in the make remove the unneeded lib, eg, freetype
4, run make

there may be error , not recoganize make, g++,
---- > sudo apt install build-essential

  • 9
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值