How to use under ArchLinux from issue#47 (#52)
* 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 <kisvegabor@gmail.com> --------- Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
This commit is contained in:
parent
f86f306f97
commit
fbd143b1d0
14
README.md
14
README.md
@ -21,10 +21,15 @@ git clone --recursive https://github.com/lvgl/lv_port_pc_vscode
|
|||||||
You can download SDL from https://www.libsdl.org/
|
You can download SDL from https://www.libsdl.org/
|
||||||
|
|
||||||
#### Linux
|
#### Linux
|
||||||
Copy this in the Terminal:
|
Copy below in the Terminal:
|
||||||
|
For Ubuntu
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get update && sudo apt-get install -y build-essential libsdl2-dev cmake
|
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
|
## Usage
|
||||||
|
|
||||||
@ -36,6 +41,13 @@ sudo apt-get update && sudo apt-get install -y build-essential libsdl2-dev cmake
|
|||||||

|

|
||||||
4. Click the Play button or hit F5 to start debugging.
|
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
|
### 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:
|
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:
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user