Re: gtkmm compilation issue via jhbuild



jhbuild builds cairomm 1.15.1 from a tarball, but gtkmm at present requires the latest cairomm from the git repository. See https://www.cairographics.org/cairomm/ for instructions how to get cairomm from git.

Do you know that gtkmm and gtk+ are now unusually unstable? They will become gtkmm-4.0 and gtk+-4.0, which will not be ABI-compatible with gtkmm-3.0 and gtk+-3.0. If you want less unstable programs, you can build gtkmm-3 with jhbuild.

Kjell

Den 2016-12-30 kl. 07:06, skrev Pavlo Solntsev:
Hi,
I was trying to compile gtkmm via jhbuild. All modules were ok, except gtkmm. I got this massage:

/home/pavlo/jhbuild/checkout/gtkmm/gdk/gdkmm/cursor.cc: In member function ‘Cairo::RefPtr<Cairo::Surface> Gdk::Cursor::get_surface(double&, double&)’: /home/pavlo/jhbuild/checkout/gtkmm/gdk/gdkmm/cursor.cc:178:10: error: ‘make_refptr_for_instance’ is not a member of ‘Cairo’ return ::Cairo::make_refptr_for_instance< ::Cairo::Surface>(new ::Cairo::Surface(gdk_cursor_get_surface(gobj(), &(x_hot), &(y_hot)), true /* take reference */));
          ^~
/home/pavlo/jhbuild/checkout/gtkmm/gdk/gdkmm/cursor.cc:178:61: error: expected primary-expression before ‘>’ token return ::Cairo::make_refptr_for_instance< ::Cairo::Surface>(new ::Cairo::Surface(gdk_cursor_get_surface(gobj(), &(x_hot), &(y_hot)), true /* take reference */));
                                                             ^
Makefile:625: recipe for target 'cursor.lo' failed






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