Closed dslm4515 closed 3 years ago
Looks like pango_parse_markup
wasn't declared. BUT is declared in /usr/include/pango-1.0/pango/pango-markup.h
from pango
add header to ${PANGOMM_SRC}/untracked/pango/pangomm/attrlist.cc
:
// Generated by gmmproc 2.68.0 -- DO NOT MODIFY!
#include <glibmm.h>
+#include <pango-1.0/pango/pango-markup.h>
#include <pangomm/attrlist.h>
#include <pangomm/private/attrlist_p.h>
Same issue for pangomm 2.46.1 and on a different [iteration] of mlfs:
ninja: job failed: c++ -Ipango/pangomm/libpangomm-1.4.so.1.0.30.p -Ipango -I../pango -I../untracked/pango -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/cogl -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/fribidi -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -g -Wall -fPIC -pthread -DPANGOMM_BUILD=1 -MD -MQ pango/pangomm/libpangomm-1.4.so.1.0.30.p/.._.._untracked_pango_pangomm_attrlist.cc.o -MF pango/pangomm/libpangomm-1.4.so.1.0.30.p/.._.._untracked_pango_pangomm_attrlist.cc.o.d -o pango/pangomm/libpangomm-1.4.so.1.0.30.p/.._.._untracked_pango_pangomm_attrlist.cc.o -c ../untracked/pango/pangomm/attrlist.cc
../untracked/pango/pangomm/attrlist.cc: In constructor 'Pango::AttrList::AttrList(const Glib::ustring&, gunichar)':
../untracked/pango/pangomm/attrlist.cc:38:20: error: 'pango_parse_markup' was not declared in this scope
38 | gboolean bTest = pango_parse_markup(markup_text.c_str(), -1 /* means null-terminated */, accel_marker,
| ^~~~~~~~~~~~~~~~~~
../untracked/pango/pangomm/attrlist.cc: In constructor 'Pango::AttrList::AttrList(const Glib::ustring&, gunichar, Glib::ustring&, gunichar&)':
../untracked/pango/pangomm/attrlist.cc:65:20: error: 'pango_parse_markup' was not declared in this scope
65 | gboolean bTest = pango_parse_markup(markup_text.c_str(), -1 /* means null-terminated */, accel_marker,
| ^~~~~~~~~~~~~~~~~~
ninja: subcommand failed
Pangomm fails to compile: