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

相关推荐
AC赳赳老秦4 分钟前
多模态 AI 驱动办公智能化变革:DeepSeek 赋能图文转写与视频摘要的高效实践
java·ide·人工智能·python·prometheus·ai-native·deepseek
宫瑾1 小时前
VSCode使用C/C++ extensions开发STM32,添加头文件路径
c语言·c++·vscode
番茄去哪了1 天前
苍穹外卖day07---Redis缓存优化与购物车功能实现
java·数据库·ide·spring boot·spring·maven·mybatis
ol木子李lo1 天前
Linux 命令备忘录
linux·运维·服务器·windows·编辑器·ssh·bash
三无少女指南1 天前
开发者环境配置最佳实践:编辑器Cursor ,VS Code的上位体验实现 AI 与 WSL 联动
运维·c语言·数据库·windows·git·编辑器
水木姚姚1 天前
string类(C++)
开发语言·c++·windows·vscode·开发工具
人生导师yxc1 天前
IDE缓存配置等位置更改(自存)
java·ide·intellij-idea
WordPress学习笔记1 天前
wordpress最好用的页面编辑器古腾堡Gutenberg编辑器
编辑器·wordpress
楼田莉子1 天前
CMake学习:CMake在二进制工程场景上应用
linux·c++·vscode·学习·软件构建
爱喝热水的呀哈喽1 天前
主线公式等
编辑器