Re: [gtk-osx-users] Building Glade on MaxOS 10.9.



Hello John, you're right.

I got many errors, extract:

glade-window.c:3277:25: error: implicit declaration of function 'GET_OBJECT' is
      invalid in C99 [-Werror,-Wimplicit-function-declaration]
          GtkWidget *menubar = GET_OBJECT (builder, GTK_WIDGET, "menubar");
                               ^
glade-window.c:3277:37: error: use of undeclared identifier 'builder'
          GtkWidget *menubar = GET_OBJECT (builder, GTK_WIDGET, "menubar");
                                           ^
glade-window.c:3278:4: error: use of undeclared identifier 'GtkOSXApplication'
          GtkOSXApplication *theApp = g_object_new(GTK_TYPE_OSX_APPLICAT...
          ^
glade-window.c:3278:23: error: use of undeclared identifier 'theApp'
          GtkOSXApplication *theApp = g_object_new(GTK_TYPE_OSX_APPLICAT...
                             ^
glade-window.c:3278:45: error: use of undeclared identifier
      'GTK_TYPE_OSX_APPLICATION'
          GtkOSXApplication *theApp = g_object_new(GTK_TYPE_OSX_APPLICAT...
                                                   ^
glade-window.c:3282:4: error: implicit declaration of function
      'gtk_osxapplication_set_menu_bar' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
          gtk_osxapplication_set_menu_bar(theApp, GTK_MENU_SHELL(menubar));
          ^

Was it better with previous glade version?

Regards, Pascal.
http://blady.pagesperso-orange.fr


Le 5 juil. 2015 à 20:23, John Ralls <jralls ceridwen us> a écrit :


On Jul 5, 2015, at 9:35 AM, Pascal <p p14 orange fr> wrote:

Hello,

after a fresh install of gtk-osx on MacOS 10.9 with GTK+3:
…
cmd$ jhbuild build meta-gtk-osx-gtk3

when I build Glade, I’ve got an error at patch phase:

cmd$ jhbuild build glade
*** Checking out itstool *** [1/2]
*** Skipping itstool (package and dependencies not updated) *** [1/2]
*** Checking out glade *** [2/2]
xzcat -d "/usr/local/src-gtk-osx/pkgs/glade-3.18.3.tar.xz" | tar xf -
*** Applying patch http://git.gnome.org/browse/gtk-osx/plain/patches/glade-3_16_1.patch *** [2/2]
patch -p1 < "/Users/pascalpignard/.cache/jhbuild/glade-3_16_1.patch"
patching file gladeui/glade-command.c
Reversed (or previously applied) patch detected!  Assume -R? [n] ^C*** Error during phase checkout of 
glade: ########## Error running patch -p1 < "/Users/pascalpignard/.cache/jhbuild/glade-3_16_1.patch" *** 
[2/2]

[1] Rerun phase checkout
[2] Ignore error and continue to configure
[3] Give up on module
[4] Start shell
[5] Reload configuration
[6] Go to phase "wipe directory and start over"
choice: EOF

It seems that the patch version doesn't match glade version.
How to proceed?

Thanks for the heads-up.

To proceed just tell it to ignore the error and continue to configure. That’s not to say that there might 
be another problem, since it’s obviously not well tested. I guess you get to be the guinea-pig.

In the meantime I’ll remove that patch.

Regards,
John Ralls



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