#warning "Only <gtksourceview/gtksource.h> can be included directly."



Hey list,

I am having difficulties using GtkSourceViewMM 3.0 in my project. To
control for anything in my project that might have been the problem,
I've replicated the issue in attempting to compile gtksourceviewmm-
3.18.0/tests/basic/test as a standalone minimal.cpp out of source tree.

https://git.gnome.org/browse/gtksourceviewmm/tree/tests/basic/main.cc?h=gtksourceviewmm-3-0

$ g++ minimal.cpp -o minimal `pkg-config --cflags --libs gtksourceviewmm-3.0`
In file included from /usr/include/gtksourceviewmm-3.0/gtksourceviewmm/stylescheme.h:34:0,
                 from /usr/include/gtksourceviewmm-3.0/gtksourceviewmm/language.h:36,
                 from /usr/include/gtksourceviewmm-3.0/gtksourceviewmm/buffer.h:35,
                 from /usr/include/gtksourceviewmm-3.0/gtksourceviewmm.h:176,
                 from minimal.cpp:3:
/usr/include/gtksourceview-
3.0/gtksourceview/gtksourcestylescheme.h:27:6: warning: #warning "Only
<gtksourceview/gtksource.h> can be included directly." [-Wcpp]
...

$ pkg-config --modversion gtksourceviewmm-3.0
3.18.0

$ pkg-config --cflags --libs gtksourceviewmm-3.0
-pthread -I/usr/include/gtksourceviewmm-3.0 -I/usr/lib/x86_64-linux-
gnu/gtksourceviewmm-3.0/include -I/usr/include/gtkmm-3.0
-I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/atkmm-1.6
-I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0
-I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/giomm-2.4
-I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/pangomm-
1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include
-I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-
2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib/x86_64-linux-
gnu/cairomm-1.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-
linux-gnu/sigc++-2.0/include -I/usr/include/gtksourceview-3.0
-I/usr/include/libxml2 -I/usr/include/gtk-3.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/gtk-3.0
-I/usr/include/gio-unix-2.0/ -I/usr/include/mirclient
-I/usr/include/mircore -I/usr/include/mircookie -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-
1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-
pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -lgtksourceviewmm-3.0
-lgtkmm-3.0 -latkmm-1.6 -lgdkmm-3.0 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-
2.4 -lcairomm-1.0 -lsigc-2.0 -lgtksourceview-3.0 -lgtk-3 -lgdk-3
-lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo
-lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0

Any help appreciated.

-- 
Kip Warner | Senior Software Engineer
OpenPGP signed/encrypted mail preferred
https://www.cartesiantheatre.com

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]