Skip to content

It's difficult to compile on msys2 ucrt64 #76

Description

@Q191
export PATH=$PATH:xxx/v/bin
pacman -S mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-git
v up
v update --all

pacman -S mingw-w64-ucrt-x86_64-freetype mingw-w64-ucrt-x86_64-harfbuzz mingw-w64-ucrt-x86_64-fribidi mingw-w64-ucrt-x86_64-fontconfig mingw-w64-ucrt-x86_64-pango  mingw-w64-ucrt-x86_64-glib2

I need to compile demo like this:

# pkg-config.exe --cflags --libs pango glib-2.0 freetype2 fribidi fontconfig  | sed 's/xxx/ /g' | sed 's/[ ]-I /:/g'
C_INCLUDE_PATH="/ucrt64/include/pango-1.0:/ucrt64/include/cairo:/ucrt64/include/pixman-1:/ucrt64/include/fribidi:/ucrt64/include/freetype2:/ucrt64/include/libpng16:/ucrt64/include/harfbuzz:/ucrt64/include/glib-2.0:/ucrt64/lib/glib-2.0/include:$C_INCLUDE_PATH" \

v -cc gcc run examples/form_validation.v

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions