readme: update instructions for installing glfw/freetype on windows. (#1974)

pull/1977/head
Delyan Angelov 2019-09-14 18:46:07 +03:00 committed by Alexander Medvednikov
parent f4fa81735d
commit 079dcd1fff
1 changed files with 5 additions and 6 deletions

View File

@ -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.