gtk librarie中的gdk-pixbuf,在阅读“缺少GTK构建文件gdk-pixbuf / gdk-pixbuf.h”之后怎么办?

时间:2018-07-02 06:41:26

标签: python c++ gdkpixbuf eclipse-photon

我安装了Python库以C ++编程。但是我发现自己遇到了一个麻烦,那就是在lirairie中有其他被称为且路径更深的图书馆。如何在所有make上设置编译器。我使用g ++和commande pkg-config --list-all | grep gdk-pixbuf

结果:

gdk-pixbuf-xlib-2.0 GdkPixbuf Xlib-Xlib的GdkPixbuf渲染

(pkg-config:17832):GLib-CRITICAL **:g_string_insert_len:断言'len == 0 || val!= NULL'失败

(pkg-config:17832):GLib-CRITICAL **:g_string_insert_len:断言'len == 0 || val!= NULL'失败

(pkg-config:17832):GLib-CRITICAL **:g_string_insert_len:断言'len == 0 || val!= NULL'失败 gdk-pixbuf-2.0 GdkPixbuf-图像加载和缩放

和配置:

make --no-print-directory main-build 构建文件:../ src / essaigtk.cpp 调用:GCC C ++编译器 g ++ -std = c ++ 0x -I / usr / include / gtk-3.0 / gdk / -I / usr / include / gtk-3.0 / unix-print / gtk / -I / usr / include / gtk-unix-print -2.0 / gtk / -I / usr / include / gdk-pixbuf-2.0 / gdk-pixbuf / -I / usr / include / als / -I ../:/ usr / share / gapi-3.0 / -I / usr / include / -I / usr / include / uuid / -I / usr / include / glib-2.0 -I / usr / lib / x86_64-linux-gnu / glib-2.0 / include -I / usr / include / atk-1.0 / -I / usr / include / at-spi2-atk / 2.0 -I / usr / include / at-spi-2.0 -I / usr / include / dbus-1.0 -I / usr / lib / x86_64-linux-gnu / dbus-1.0 / include -I / usr / include / atkmm-1.6 / -I / usr / include / glibmm-2.4 / -I / usr / lib / x86_64-linux-gnu / glibmm-2.4 / include -I / usr /包括/sigc++-2.0/ -I / usr / lib / x86_64-linux-gnu / sigc ++-2.0 / include / -I / usr / include / cairo / -I / usr / include / pixman-1 -I / usr / include / freetype2 / -I / usr / include / libpng1 / -I / usr / include / freetype / -I / usr / include / gtk-2.0 / -I / usr / lib / x86_64-linux-gnu / gtk-2.0 / include -I / usr / include / gio-unix-2.0 / -I / usr / include / pango-1.0 / -I / usr / include / gtk-3.0 -I / usr / include / gtk-3.0 / gtk / -I / usr / include / gtk-2.0 / gtk / -I / usr / share / fpcsrc / 3.0.0 / packages / g tk2 / src / -I / usr / share / fpcsrc / 3.0.0 / packages / gtk2 / src / gtk + / -I / usr / lib / x86_64-linux-gnu / gtk-2.0 / -include / usr / include / gtk -3.0 / unix-print / gtk / gtkunixprint.h -include / usr / include / gtk-unix-print-2.0 / gtk / gtkpagesetupunixdialog.h -include / usr / include / gtk-unix-print-2.0 / gtk / gtkpagesetupunixdialog .h -include / usr / include / gdk-pixbuf-2.0 / gdk-pixbuf / gdk-pixbuf.h -include / usr / include / gtk-unix-print-2.0 / gtk / gtkpagesetupunixdialog.h -include / usr / include /gtk-3.0/unix-print/gtk/gtkpagesetupunixdialog.h -include / usr / include / gtk-unix-print-2.0 / gtk / gtkunixprint.h -O0 -g3 -Wall -c -fmessage-length = 0 -MMD -MP -MF“ src / essaigtk.d” -MT“ src / essaigtk.o” -o“ src / essaigtk.o”“ ../ src / essaigtk.cpp”

错误:

在:0:0包含的文件中: /usr/include/gtk-3.0/unix-print/gtk/gtkunixprint.h:22:40:致命错误:gtk / gtkpagesetupunixdialog.h:Aucun文件或文件类型 src / subdir.mk:18:在«src / essaigtk.o»一书中倒数 makefile:42:将«all»倒换到échouée  #include

0 个答案:

没有答案