Skip to content

Help on windows #46

@LukyGuyLucky

Description

@LukyGuyLucky

After v install gui,gui and vglyph has been downloaded and place in $VMODULES,now tring to compile an example:

v -cc msvc buttons.v

got below.How to fix this issue? Thanks for the help.

Windows10 64 bit,
VS 2022
msys64 installed as well,path environment has been set and "e:/msys2/ucrt64/bin|include|lib" is available from anywhere

E:\vmodules\gui\examples>v -cc msvc buttons.v
E:/vmodules/vglyph/c_bindings.v:5:1: error: Cannot find "freetype2" pkgconfig file
    3 | #flag -I@VMODROOT
    4 | #flag -I@VEXEROOT/thirdparty/freetype/include
    5 | #pkgconfig freetype2
      | ~~~~~~~~~~~~~~~~~~~~
    6 | #pkgconfig harfbuzz
    7 | #pkgconfig fribidi
E:/vmodules/vglyph/c_bindings.v:6:1: error: Cannot find "harfbuzz" pkgconfig file
    4 | #flag -I@VEXEROOT/thirdparty/freetype/include
    5 | #pkgconfig freetype2
    6 | #pkgconfig harfbuzz
      | ~~~~~~~~~~~~~~~~~~~
    7 | #pkgconfig fribidi
    8 | #pkgconfig fontconfig
E:/vmodules/vglyph/c_bindings.v:7:1: error: Cannot find "fribidi" pkgconfig file
    5 | #pkgconfig freetype2
    6 | #pkgconfig harfbuzz
    7 | #pkgconfig fribidi
      | ~~~~~~~~~~~~~~~~~~
    8 | #pkgconfig fontconfig
    9 |
E:/vmodules/vglyph/c_bindings.v:8:1: error: Cannot find "fontconfig" pkgconfig file
    6 | #pkgconfig harfbuzz
    7 | #pkgconfig fribidi
    8 | #pkgconfig fontconfig
      | ~~~~~~~~~~~~~~~~~~~~~
    9 |
   10 | // macOS IME bridge (Objective-C)
E:/vmodules/vglyph/c_bindings.v:206:1: error: Cannot find "pango" pkgconfig file
  204 |
  205 | // Pango & GObject & GLib
  206 | #pkgconfig pango
      | ~~~~~~~~~~~~~~~~
  207 | #pkgconfig pangoft2
  208 | #pkgconfig gobject-2.0
E:/vmodules/vglyph/c_bindings.v:207:1: error: Cannot find "pangoft2" pkgconfig file
  205 | // Pango & GObject & GLib
  206 | #pkgconfig pango
  207 | #pkgconfig pangoft2
      | ~~~~~~~~~~~~~~~~~~~
  208 | #pkgconfig gobject-2.0
  209 | #pkgconfig glib-2.0
E:/vmodules/vglyph/c_bindings.v:208:1: error: Cannot find "gobject-2.0" pkgconfig fil
  206 | #pkgconfig pango
  207 | #pkgconfig pangoft2
  208 | #pkgconfig gobject-2.0
      | ~~~~~~~~~~~~~~~~~~~~~~
  209 | #pkgconfig glib-2.0
  210 |
E:/vmodules/vglyph/c_bindings.v:209:1: error: Cannot find "glib-2.0" pkgconfig file
  207 | #pkgconfig pangoft2
  208 | #pkgconfig gobject-2.0
  209 | #pkgconfig glib-2.0
      | ~~~~~~~~~~~~~~~~~~~
  210 |
  211 | #include <pango/pango.h>

E:\vmodules\gui\examples>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions