|
From: Andrew C <cou...@gm...> - 2021-12-17 09:07:01
|
Hi, it's me again :)
Getting a compile error with the latest svn version of gigedit on Ubuntu
Studio 21.04:
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from /usr/include/glibmm-2.4/glibmm/unicode.h:23,
from /usr/include/glibmm-2.4/glibmm/ustring.h:21,
from /usr/include/gtkmm-2.4/gtkmm/label.h:7,
from wrapLabel.hh:28,
from wrapLabel.cc:25:
/usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here
545 | typedef struct _GTimeVal GTimeVal
GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
| ^~~~~~~~
wrapLabel.cc: In constructor ‘view::WrapLabel::WrapLabel(const
Glib::ustring&)’:
wrapLabel.cc:69:44: error: ‘WORD_CHAR’ is not a member of ‘Pango::WrapMode’
69 | get_layout()->set_wrap(Pango::WrapMode::WORD_CHAR);
| ^~~~~~~~~
make[4]: *** [Makefile:874: libgigedit_la-wrapLabel.lo] Error 1
make[4]: Leaving directory
'/home/ubuntu-studio/Downloads/svn/gigedit/src/gigedit'
make[3]: *** [Makefile:935: all-recursive] Error 1
make[3]: Leaving directory
'/home/ubuntu-studio/Downloads/svn/gigedit/src/gigedit'
make[2]: *** [Makefile:418: all-recursive] Error 1
make[2]: Leaving directory '/home/ubuntu-studio/Downloads/svn/gigedit/src'
make[1]: *** [Makefile:468: all-recursive] Error 1
make[1]: Leaving directory '/home/ubuntu-studio/Downloads/svn/gigedit'
make: *** [Makefile:398: all] Error 2
Looking at this error, I realise this might be a GTK Library problem,
rather than specific to Gigedit itself!
On a related note, the latest official release of the Linuxsampler source
has a compile error, but the latest svn compiles fine (think I may have
reported that one?)
I'm also seeing alot of "deprecated" due to -Wdeprecated-warning from c++11
by default in building libgig/linuxsampler/gigedit from svn.
Thanks,
Andrew.
|