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