Windows Compilation problems: gcc with pkg-config error
OS: Windows 10, desktop pc
pkg-config --cflags gtk+-2.0 -mms-bitfields -Ik:/gtk/include/gtk-2.0 -Ik:/gtk/lib/gtk-2.0/include -Ik:/gtk/include/atk-1.0 -Ik:/gtk/include/cairo -Ik:/gtk/include/gdk-pixbuf-2.0 开发者_StackOverflow社区-Ik:/gtk/include/pango-1.0 -Ik:/gtk/include/glib-2.0 -Ik:/gtk/lib/glib-2.0/include -Ik:/gtk/include -Ik:/gtk/include/freetype2 -Ik:/gtk/include/libpng14
all ok
gcc pkg-config --cflags gtk+-2.0
test.cpp
gcc.exe error: pkg-config: No such file or directory
gcc.exe error: gtk+-2.0`: No such file or directory
gcc.exe error: unrecognized command line option '--cflags'
On other pc with Windows 10 i have not this problem.
What is the problem on this pc ?
精彩评论