vlang / ui

A cross-platform UI library written in V
MIT License
2.33k stars 152 forks source link

How do I set a dependency on glfw? #134

Closed Keyn1 closed 4 years ago

Keyn1 commented 4 years ago

How do I set a dependency on glfw? The site only shows Windows: v setup-freetype. I did it. But the examples are not compiled.

the site says: Fedora: sudo dnf install glfw glfw-devel freetype-devel Windows: v setup-freetype

where glfw for windows?

if I do this: v install glfw then I get an error

spytheman commented 4 years ago

The glfw library ( glfw3.lib and glfw3.dll) is already in V's main repository: https://github.com/vlang/v/tree/master/thirdparty/glfw .

Unlike freetype, it is much smaller, so there is no need to install it additionally with a special command.

medvednikov commented 4 years ago

glfw is no longer needed.