Cannot compile Cairo C code on Windows 10
问题 I am trying to compile the zetcode lines on Windows 10 using msys64. I use the following compilation command: gcc example.c -o example `pkg-config --cflags --libs cairo gtk+-3.0` and get the following error: -bash: pkg-config: command not found example.c:1:19: fatal error: cairo.h: No such file or directory #include <cairo.h> However I did pacman -S mingw-w64-i686-cairo before and the installation was successful. When I type **pacman -Ss mingw-w64-i686-cairo ** I get the following: mingw32