Error compiling src/widgets/image-menu-item.c under Windows
I'm experiencing errors in compiling under Windows, both XP and 7 64 bit in the last few days. I've seen many commits in the meantime but none address the problem. Already tried clean builds, last try today with trunk Rev 14849, devlibs Rev 61 and devlibs64 Rev 33.
Here are the errors I get.
Under Windows XP: ====================================== Make error line 313: problem compiling: src/widgets/image-menu-item.c: In function 'image_menu_item_get_type': src/widgets/image-menu-item.c:109:1: warning: implicit declaration of function 'G_ADD_PRIVATE' [-Wimplicit-function-declaration] src/widgets/image-menu-item.c:109:1: error: expected expression before 'ImageMenuItem' src/widgets/image-menu-item.c:109:1: error: expected ';' before '{' token src/widgets/image-menu-item.c: In function 'image_menu_item_class_init': src/widgets/image-menu-item.c:123:15: error: 'GtkWidgetClass' has no member named 'destroy' src/widgets/image-menu-item.c:125:15: error: 'GtkWidgetClass' has no member named 'get_preferred_width' src/widgets/image-menu-item.c:126:15: error: 'GtkWidgetClass' has no member named 'get_preferred_height' src/widgets/image-menu-item.c:127:15: error: 'GtkWidgetClass' has no member named 'get_preferred_height_for_width' src/widgets/image-menu-item.c: In function 'image_menu_item_init': src/widgets/image-menu-item.c:195:3: warning: implicit declaration of function 'image_menu_item_get_instance_private' [-Wimplicit-function-declaration] src/widgets/image-menu-item.c:195:25: warning: assignment makes pointer from integer without a cast [enabled by default] src/widgets/image-menu-item.c: In function 'image_menu_item_set_property': src/widgets/image-menu-item.c:228:7: error: 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' undeclared (first use in this function) src/widgets/image-menu-item.c:228:7: note: each undeclared identifier is reported only once for each function it appears in src/widgets/image-menu-item.c:230:7: error: 'G_GNUC_END_IGNORE_DEPRECATIONS' undeclared (first use in this function) src/widgets/image-menu-item.c: In function 'image_menu_item_get_property': src/widgets/image-menu-item.c:257:7: error: 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' undeclared (first use in this function) src/widgets/image-menu-item.c:259:7: error: 'G_GNUC_END_IGNORE_DEPRECATIONS' undeclared (first use in this function) src/widgets/image-menu-item.c: In function 'image_menu_item_destroy': src/widgets/image-menu-item.c:289:50: error: 'GtkWidgetClass' has no member named 'destroy' src/widgets/image-menu-item.c: In function 'image_menu_item_toggle_size_request': src/widgets/image-menu-item.c:316:7: warning: implicit declaration of function 'gtk_widget_get_preferred_size' [-Wimplicit-function-declaration] src/widgets/image-menu-item.c: In function 'image_menu_item_recalculate': src/widgets/image-menu-item.c:346:7: error: 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' undeclared (first use in this function) src/widgets/image-menu-item.c:359:7: error: 'G_GNUC_END_IGNORE_DEPRECATIONS' undeclared (first use in this function) src/widgets/image-menu-item.c: In function 'image_menu_item_get_preferred_width': src/widgets/image-menu-item.c:410:50: error: 'GtkWidgetClass' has no member named 'get_preferred_width' src/widgets/image-menu-item.c:418:7: warning: implicit declaration of function 'gtk_widget_get_preferred_width' [-Wimplicit-function-declaration] src/widgets/image-menu-item.c: In function 'image_menu_item_get_preferred_height': src/widgets/image-menu-item.c:452:50: error: 'GtkWidgetClass' has no member named 'get_preferred_height' src/widgets/image-menu-item.c: In function 'image_menu_item_get_preferred_height_for_width': src/widgets/image-menu-item.c:490:35: error: 'GtkWidgetClass' has no member named 'get_preferred_height_for_width' src/widgets/image-menu-item.c: In function 'image_menu_item_size_allocate': src/widgets/image-menu-item.c:522:7: error: unknown type name 'GtkStyleContext' src/widgets/image-menu-item.c:523:7: error: unknown type name 'GtkStateFlags' src/widgets/image-menu-item.c:544:7: warning: implicit declaration of function 'gtk_widget_get_style_context' [-Wimplicit-function-declaration] src/widgets/image-menu-item.c:544:15: warning: assignment makes pointer from integer without a cast [enabled by default] src/widgets/image-menu-item.c:545:7: warning: implicit declaration of function 'gtk_widget_get_state_flags' [-Wimplicit-function-declaration] src/widgets/i cc : regenerating C/C++ dependency cache cc : compile with 1 threads in parallel compile src/inkscape-version.cpp compile src/widgets/image-menu-item.c mage-menu-item.c:546:7: warning: implicit declaration of function 'gtk_style_context_get_padding' [-Wimplicit-function-declaration] src/widgets/image-menu-item.c: In function 'activatable_update_stock_id': src/widgets/image-menu-item.c:621:3: error: 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' undeclared (first use in this function) src/widgets/image-menu-item.c:628:7: error: 'G_GNUC_END_IGNORE_DEPRECATIONS' undeclared (first use in this function) src/widgets/image-menu-item.c: In function 'activatable_update_gicon': src/widgets/image-menu-item.c:647:3: error: 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' undeclared (first use in this function) src/widgets/image-menu-item.c:658:3: error: 'G_GNUC_END_IGNORE_DEPRECATIONS' undeclared (first use in this function) src/widgets/image-menu-item.c: In function 'image_menu_item_set_accel_group': src/widgets/image-menu-item.c:910:3: error: 'G_GNUC_BEGIN_IGNORE_DEPRECATIONS' undeclared (first use in this function) src/widgets/image-menu-item.c:925:3: error: 'G_GNUC_END_IGNORE_DEPRECATIONS' undeclared (first use in this function) src/widgets/image-menu-item.c: In function 'traverse_container': src/widgets/image-menu-item.c:1026:32: warning: unused parameter 'data' [-Wunused-parameter] src/widgets/image-menu-item.c: In function 'image_menu_item_setting_changed': src/widgets/image-menu-item.c:1035:47: warning: unused parameter 'settings' [-Wunused-parameter] src/widgets/image-menu-item.c: In function 'image_menu_item_screen_changed': src/widgets/image-menu-item.c:1050:48: warning: unused parameter 'previous_screen' [-Wunused-parameter] src/widgets/image-menu-item.c: At top level: src/widgets/image-menu-item.c:606:1: warning: 'image_menu_item_activatable_interface_init' defined but not used [-Wunused-function]
Under Windows 7: ====================================== Make error line 310: problem compiling: src/widgets/image-menu-item.c: In function 'image_menu_item_class_init':
src/widgets/image-menu-item.c:123:15: error: 'GtkWidgetClass {aka struct _GtkWidgetClass}' has no member named 'destroy'
widget_class->destroy = image_menu_item_destroy;
^
src/widgets/image-menu-item.c:125:15: error: 'GtkWidgetClass {aka struct _GtkWidgetClass}' has no member named 'get_preferred_width'
widget_class->get_preferred_width = image_menu_item_get_preferred_width;
^
src/widgets/image-menu-item.c:126:15: error: 'GtkWidgetClass {aka struct _GtkWidgetClass}' has no member named 'get_preferred_height'
widget_class->get_preferred_height = image_menu_item_get_preferred_height;
^
src/widgets/image-menu-item.c:127:15: error: 'GtkWidgetClass {aka struct _GtkWidgetClass}' has no member named 'get_preferred_height_for_width'
widget_class->get_preferred_height_for_width = image_menu_item_get_preferred_height_for_width;
^
src/widgets/image-menu-item.c: In function 'image_menu_item_destroy':
src/widgets/image-menu-item.c:289:50: error: 'GtkWidgetClass {aka struct _GtkWidgetClass}' has no member named 'destroy'
GTK_WIDGET_CLASS (image_menu_item_parent_class)->destroy (widget);
^
src/widgets/image-menu-item.c: In function 'image_menu_item_toggle_size_request':
src/widgets/image-menu-item.c:316:7: warning: implicit declaration of function 'gtk_widget_get_preferred_size' [-Wimplicit-function-declaration]
gtk_widget_get_preferred_size (priv->image, &image_requisition, NULL);
^
src/widgets/image-menu-item.c: In function 'image_menu_item_get_preferred_width':
src/widgets/image-menu-item.c:410:50: error: 'GtkWidgetClass {aka struct _GtkWidgetClass}' has no member named 'get_preferred_width'
GTK_WIDGET_CLASS (image_menu_item_parent_class)->get_preferred_width (widget, minimum, natural);
^
src/widgets/image-menu-item.c:418:7: warning: implicit declaration of function 'gtk_widget_get_preferred_width' [-Wimplicit-function-declaration]
gtk_widget_get_preferred_width (priv->image, &child_minimum, &child_natural);
^
src/widgets/image-menu-item.c: In function 'image_menu_item_get_preferred_height':
src/widgets/image-menu-item.c:452:50: error: 'GtkWidgetClass {aka struct _GtkWidgetClass}' has no member named 'get_preferred_height'
GTK_WIDGET_CLASS (image_menu_item_parent_class)->get_preferred_height (widget, minimum, natural);
^
src/widgets/image-menu-item.c: In function 'image_menu_item_get_preferred_height_for_width':
src/widgets/image-menu-item.c:490:35: error: 'GtkWidgetClass {aka struct _GtkWidgetClass}' has no member named 'get_preferred_height_for_width'
(image_menu_item_parent_class)->get_preferred_height_for_width (widget, width, minimum, natural);
^
src/widgets/image-menu-item.c: In function 'image_menu_item_size_allocate':
src/widgets/image-menu-item.c:522:7: error: unknown type name 'GtkStyleContext'
GtkStyleContext *context;
^
src/widgets/image-menu-item.c:523:7: error: unknown type name 'GtkStateFlags'
GtkStateFlags state;
^
src/widgets/image-menu-item.c:544:17: warning: implicit declaration of function 'gtk_widget_get_style_context' [-Wimplicit-function-declaration]
context = gtk_widget_get_style_context (widget);
^
src/widgets/image-menu-item.c:544:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
context = gtk_widget_get_style_context (widget);
^
src/widgets/image-menu-item.c:545:15: warning: implicit declaration of function 'gtk_widget_get_state_flags' [-Wimplicit-function-declaration]
state = gtk_widget_get_state_flags (widget);
^
src/widgets/image-menu-item.c:546:7: warning: implicit declaration of function 'gtk_style_context_get_padding cc : regenerating C/C++ dependency cache cc : compile with 4 threads in parallel compile src/inkscape-version.cpp compile src/widgets/image-menu-item.c ' [-Wimplicit-function-declaration]
gtk_style_context_get_padding (context, state, &padding);
^
src/widgets/image-menu-item.c: In function 'traverse_container':
src/widgets/image-menu-item.c:1026:32: warning: unused parameter 'data' [-Wunused-parameter]
gpointer data)
^
src/widgets/image-menu-item.c: In function 'image_menu_item_setting_changed':
src/widgets/image-menu-item.c:1035:47: warning: unused parameter 'settings' [-Wunused-parameter]
image_menu_item_setting_changed (GtkSettings *settings)
^
src/widgets/image-menu-item.c: In function 'image_menu_item_screen_changed':
src/widgets/image-menu-item.c:1050:48: warning: unused parameter 'previous_screen' [-Wunused-parameter]
GdkScreen *previous_screen)
^
-- View this message in context: http://inkscape.13.x6.nabble.com/Error-compiling-src-widgets-image-menu-item... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
On Fri, 2016-04-15 at 01:13 -0700, LucaDC wrote:
I'm experiencing errors in compiling under Windows, both XP and 7 64 bit in the last few days. I've seen many commits in the meantime but none address the problem. Already tried clean builds, last try today with trunk Rev 14849, devlibs Rev 61 and devlibs64 Rev 33.
Here are the errors I get.
It looks like the new image-menu-item has not been added to the windows build files correctly.
Does anyone know about the old autotools build for windows?
Martin,
Should be fixed with the changes in revision 14857 http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14857 http://bazaar.launchpad.net/%7Einkscape.dev/inkscape/trunk/revision/14857
See also bug #1571282 https://bugs.launchpad.net/inkscape/+bug/1571282
Am 15.04.2016 um 12:55 schrieb Martin Owens:
On Fri, 2016-04-15 at 01:13 -0700, LucaDC wrote:
I'm experiencing errors in compiling under Windows, both XP and 7 64 bit in the last few days. I've seen many commits in the meantime but none address the problem. Already tried clean builds, last try today with trunk Rev 14849, devlibs Rev 61 and devlibs64 Rev 33.
Here are the errors I get.
It looks like the new image-menu-item has not been added to the windows build files correctly.
Does anyone know about the old autotools build for windows?
Martin,
Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
The build still seems to fail due to changes in revision 14855 though http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14855
You could revert that specific revision using bzr merge -r 14855..14854 until somebody fixes it...
Am 17.04.2016 um 15:32 schrieb Eduard Braun:
Should be fixed with the changes in revision 14857 http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14857 http://bazaar.launchpad.net/%7Einkscape.dev/inkscape/trunk/revision/14857
See also bug #1571282 https://bugs.launchpad.net/inkscape/+bug/1571282
Am 15.04.2016 um 12:55 schrieb Martin Owens:
On Fri, 2016-04-15 at 01:13 -0700, LucaDC wrote:
I'm experiencing errors in compiling under Windows, both XP and 7 64 bit in the last few days. I've seen many commits in the meantime but none address the problem. Already tried clean builds, last try today with trunk Rev 14849, devlibs Rev 61 and devlibs64 Rev 33.
Here are the errors I get.
It looks like the new image-menu-item has not been added to the windows build files correctly.
Does anyone know about the old autotools build for windows?
Martin,
Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
See also bug 1571365 for the linker issue after revision 14855 https://bugs.launchpad.net/inkscape/+bug/1571365
Am 17.04.2016 um 15:47 schrieb Eduard Braun:
The build still seems to fail due to changes in revision 14855 though http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14855
You could revert that specific revision using bzr merge -r 14855..14854 until somebody fixes it...
Am 17.04.2016 um 15:32 schrieb Eduard Braun:
Should be fixed with the changes in revision 14857 http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14857 http://bazaar.launchpad.net/%7Einkscape.dev/inkscape/trunk/revision/14857
See also bug #1571282 https://bugs.launchpad.net/inkscape/+bug/1571282
Am 15.04.2016 um 12:55 schrieb Martin Owens:
On Fri, 2016-04-15 at 01:13 -0700, LucaDC wrote:
I'm experiencing errors in compiling under Windows, both XP and 7 64 bit in the last few days. I've seen many commits in the meantime but none address the problem. Already tried clean builds, last try today with trunk Rev 14849, devlibs Rev 61 and devlibs64 Rev 33.
Here are the errors I get.
It looks like the new image-menu-item has not been added to the windows build files correctly.
Does anyone know about the old autotools build for windows?
Martin,
Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (3)
-
Eduard Braun
-
LucaDC
-
Martin Owens