mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
readme: cleanup the additional graphics libraries installation instructions
This commit is contained in:
parent
d55715884a
commit
776fbdfb23
@ -189,9 +189,11 @@ v run tetris/tetris.v
|
|||||||
```
|
```
|
||||||
<img src='https://raw.githubusercontent.com/vlang/v/master/examples/tetris/screenshot.png' width=300 alt='tetris screenshot'>
|
<img src='https://raw.githubusercontent.com/vlang/v/master/examples/tetris/screenshot.png' width=300 alt='tetris screenshot'>
|
||||||
|
|
||||||
NB: In order to build Tetris or 2048 (or anything else using `sokol` or `gg` graphics modules).
|
NB: In order to build Tetris or 2048 (or anything else using `sokol` or `gg` graphics modules),
|
||||||
On some Linux systems (Debian/Ubuntu based), you need to install `libxi-dev` and `libxcursor-dev`.
|
you will need additional development libraries for your system.
|
||||||
On Fedora/RH/CentOS, that would be:
|
For some Linux distros (Debian/Ubuntu based), you need to run this:
|
||||||
|
`sudo apt install libxi-dev libxcursor-dev`.
|
||||||
|
For Fedora/RH/CentOS, you need to run this:
|
||||||
`sudo dnf install libXcursor-devel libXi-devel libX11-devel libglvnd-devel` .
|
`sudo dnf install libXcursor-devel libXi-devel libX11-devel libglvnd-devel` .
|
||||||
|
|
||||||
## V net.http, net.websocket, `v install`
|
## V net.http, net.websocket, `v install`
|
||||||
|
Loading…
Reference in New Issue
Block a user