Menu

how to install Msys2 on MS Windows 8?

John Doe
2016-08-27
2016-08-27
  • John Doe

    John Doe - 2016-08-27

    Hi everyone,
    I am having problems installing Msys2 on Windows 8.

    I've read a few differing instructions web pages, but they all appear to be out of date, and the official instructions also result in errors, so now I'm following the directions at:
    https://github.com/stahta01/cb_misc/blob/master/Notes/MSys2/Setting%20up%20MSys2%20for%20using%20GTK3%20with%20external%20CodeBlocks%20IDE.txt

    Everything seams to be correct until I issue the command:

    pkg-config --cflags gtk+-3.0
    Package gtk+-3.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gtk+-3.0.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gtk+-3.0' found
    

    Can anyone help me with this installation please?

     
  • Alexx83

    Alexx83 - 2016-08-27

    You need run pkg-config from mingw shell not msys one.

     
  • John Doe

    John Doe - 2016-08-27

    Aaaaaa, so that's what I did wrong! Thanks a lot Alexx83!
    Now the result is:

     pkg-config --cflags gtk+-3.0
    -mms-bitfields -pthread -mms-bitfields -I/mingw32/include/gtk-3.0 -I/mingw32/include/cairo -I/mingw32/include -I/mingw32/include/pango-1.0 -I/mingw32/include/atk-1.0 -I/mingw32/include/cairo -I/mingw32/include/pixman-1 -I/mingw32/include -I/mingw32/include/freetype2 -I/mingw32/include/libpng16 -I/mingw32/include/harfbuzz -I/mingw32/include/glib-2.0 -I/mingw32/lib/glib-2.0/include -I/mingw32/include -I/mingw32/include/freetype2 -I/mingw32/include -I/mingw32/include/harfbuzz -I/mingw32/include -I/mingw32/include/libpng16 -I/mingw32/include/gdk-pixbuf-2.0 -I/mingw32/include/libpng16 -I/mingw32/include/glib-2.0 -I/mingw32/lib/glib-2.0/include -I/mingw32/include
    

    I'm guessing that means all is working fine?