LVGL ArchLinux VSCode环境运行

LVGL官方的Demo是跑在Ubuntu系的系统上的。项目链接在此

GitHub - lvgl/lv_port_pc_vscode

很多包在Arch中名字都不一样,我配合GPT,找到了相同功能的包,配合官方步骤,大致过程如下。

我的操作也同步发到了issue区:
[Solved] How to use on Arch Linux · Issue #47 · lvgl/lv_port_pc_vscode · GitHub


针对Arch Linux用户,我做了如下操作,能够跑起来Demo:

用如下指令代替Ubuntu系apt指令

```

sudo pacman -S sdl2

sudo pacman -S base-devel

sudo pacman -S gcc make

sudo pacman -S libsdl2-devel

sudo pacman -S sdl2_mixer

sudo pacman -S sdl2-devel

```

VSCode安装

vscode用AUR管理器安装"visual-studio-code-bin"

例如我用paru:

`paru -S visual-studio-code-bin`

git保证项目完整,各模块更新就能跑起来了

相关推荐
努力成为大牛吧1 小时前
Pycharm 接入 Deepseek API完整版教程
ide·python·pycharm
q***06293 小时前
Node.js使用教程
node.js·编辑器·vim
zyplayer-doc3 小时前
目录支持批量操作,文档增加可见范围、锁定功能,PDF查看优化,zyplayer-doc 2.5.8 发布啦!
数据库·人工智能·pdf·编辑器·飞书·石墨文档
QQ__17646198243 小时前
Vscode安装步骤(详细版)
ide·vscode·编辑器
花花鱼4 小时前
android studio引用三方库的方法,比如SmartRefreshLayout
android·ide·android studio
薛定e的猫咪4 小时前
【调试技巧】vscode 四种断点调试,快速定位 bug
ide·vscode·python·bug
likuolei5 小时前
Eclipse 代码模板
java·ide·eclipse
sanggou5 小时前
Windsurf AI IDE 完全使用指南
ide·人工智能
HealthScience7 小时前
vscode怎么连接远程服务器/无密码(使用秘钥)登录
服务器·ide·vscode
yi碗汤园7 小时前
Visual Studio常用的快捷键
开发语言·ide·c#·编辑器·visual studio