mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
readme: update instructions for installing glfw/freetype on windows. (#1974)
This commit is contained in:
parent
f4fa81735d
commit
079dcd1fff
11
README.md
11
README.md
@ -114,12 +114,7 @@ v run tetris/tetris.v
|
||||
|
||||
<img src='https://raw.githubusercontent.com/vlang/v/master/examples/tetris/screenshot.png' width=300>
|
||||
|
||||
|
||||
In order to build Tetris and anything else using the graphics module, you will need to install glfw and freetype.
|
||||
|
||||
```
|
||||
v install glfw
|
||||
```
|
||||
In order to build Tetris and anything else using the graphics module, you will need to install glfw and freetype libraries.
|
||||
|
||||
If you plan to use the http package, you also need to install OpenSSL on non-Windows systems.
|
||||
|
||||
@ -135,6 +130,10 @@ sudo pacman -S glfw-x11 freetype2
|
||||
|
||||
Fedora:
|
||||
sudo dnf install glfw glfw-devel freetype-devel
|
||||
|
||||
Windows:
|
||||
git clone --depth=1 https://github.com/ubawurinna/freetype-windows-binaries [path to v repo]/thirdparty/freetype/
|
||||
|
||||
```
|
||||
|
||||
glfw dependency will be removed soon.
|
||||
|
Loading…
Reference in New Issue
Block a user