Skip to content

Commit

Permalink
How to use under ArchLinux from issue#47 (#52)
Browse files Browse the repository at this point in the history
* git commit -m "Update README with solution for issue #47"

* Update README.md

A minor formatting change. Follow the Author's format.

Co-authored-by: Gabor Kiss-Vamosi <[email protected]>

---------

Co-authored-by: Gabor Kiss-Vamosi <[email protected]>
  • Loading branch information
Sandman6z and kisvegabor authored Aug 14, 2024
1 parent f86f306 commit fbd143b
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,15 @@ git clone --recursive https://github.com/lvgl/lv_port_pc_vscode
You can download SDL from https://www.libsdl.org/

#### Linux
Copy this in the Terminal:
```bash
Copy below in the Terminal:
For Ubuntu
```bash
sudo apt-get update && sudo apt-get install -y build-essential libsdl2-dev cmake
```
For ArchLinux
```bash
sudo pacman -Syu && sudo pacman -S sdl2 libsdl2-devel sdl2_mixer sdl2-devel base-devel gcc make
```

## Usage

Expand All @@ -35,6 +40,13 @@ sudo apt-get update && sudo apt-get install -y build-essential libsdl2-dev cmake
3. Click the Run and Debug page on the left, and select `Debug LVGL demo with gdb` from the drop-down on the top. Like this:
![image](https://github.com/lvgl/lv_port_pc_vscode/assets/7599318/f527b235-5718-4949-b5f0-bd807b3a64ba)
4. Click the Play button or hit F5 to start debugging.

**ArchLinux User**
VSCode does not officially provide an installation package under Arch, you need to use the AUR manager `paru` to install it.
The command is as follows:
```bash
paru -S visual-studio-code-bin
```

### CMake
This project uses CMake under the hood which can be used without Visula Studio Code too. Just type these in a Terminal when you are in the project's root folder:
Expand Down

0 comments on commit fbd143b

Please sign in to comment.