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保证项目完整,各模块更新就能跑起来了

相关推荐
九转编程蛊15 分钟前
破解版idea安装Jira插件
java·ide·intellij-idea
starstarzz2 小时前
解决idea无法正常加载lombok包
java·ide·spring·intellij-idea·springboot·web
FlyWIHTSKY3 小时前
idea中push拒绝,merge,rebase的区别
java·ide·intellij-idea
界面开发小八哥4 小时前
JetBrains IDE v2025.1 升级,AI 智能+语言支持齐飞
ide·人工智能·pycharm·go·jetbrains
小天源5 小时前
Visual Studio Code 1.101下载
ide·vscode·编辑器
hola1738414395 小时前
node.js在vscode的配置
ide·vscode·node.js
晨曦backend6 小时前
Vim-vimrc 脚本文件表头设置
编辑器·vim·vimrc
Little-Hu6 小时前
linux使用vscode加cmake代替vim、gcc、gdb、makefile编辑、构建、调试程序
linux·vscode·vim
蚕与禅6 小时前
从零学起VIM
linux·编辑器·vim
执 、12 小时前
SpringBoot定时监控数据库状态
java·数据库·ide·spring boot·后端