User forums > Help

Windows 10, msys2 and GTK


I installed msys2 on disk C in the default directory msys64. Using the commands:
--- Code: ---pacman -S mingw-w64-x86_64-gcc
pacman -S mingw-w64-x86_64-gdb
pacman -S make
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-pkg-config
pacman -S --needed mingw-w64-x86_64-toolchain
--- End code ---
installed the compiler and GTK.
When creating a GTK application and selecting a directory C:\msys64\mingw64\include\gtk-3.0 a message appears that include was not detected. Which directory msys2 should I specify for the project to be created?

I tried to set up the project. Previously, there were the following libraries in the project settings in Linker settings->Link libraries:
         <Add library="gtk-win32-3.0" />
         <Add library="gobject-2.0" />
         <Add library="glib-2.0" />
I didn't find these libraries in msys2. Please tell me which libraries from msys2 need to be connected.

Maybe I need to post this question in another forum topic? For example, in Using Code::Blocks? I really need to configure Code::Blocks to create GTK applications, and in this topic the answer is no.

I know nothing about GTK and little about MSYS2.

Still, I do not see any GTK MSYS2 packaged installed. Should you not install something like (for GTK3)

I would try installing or re-installing GTK3.

--- Code: ---pacman -S mingw-w64-x86_64-gtk3

--- End code ---


[0] Message Index

Go to full version