Opened 9 months ago

Closed 9 months ago

#15667 closed build error (fixed)

Failed to compile with GTK+ 3.10.2

Reported by: thomasc Owned by:
Priority: normal Milestone:
Component: build Version: 3.0.0
Keywords: gtk-3.10.2 gtk3 Cc:
Blocked By: Blocking:
Patch: no

Description

checking for GTK+ - version >= 2.6.0... no
* Could not run GTK+ test program, checking why...
* The test program failed to compile or link. See the file config.log for the
* exact error that occurred. This usually means GTK+ is incorrectly installed.
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 3.0.0... yes (version 3.10.2)

Compile error:

./src/gtk/toplevel.cpp:733:78: error: ‘GDK_IS_WAYLAND_SCREEN’ was not declared in this scope

GDK_IS_WAYLAND_SCREEN(gtk_window_get_screen(GTK_WINDOW(m_widget))) &&


make: * [coredll_gtk_toplevel.o] Error 1

Change History (3)

comment:1 Changed 9 months ago by vadz

  • Keywords gtk3 added

I'm confused by this, it's true that this macro used to be called GDK_IS_SCREEN_WAYLAND but this seems to have been changed before 3.10, so I have no idea why isn't it available.

comment:2 Changed 9 months ago by allanjos

I'm having this too on Fedora 20 with this same GTK+ version. It's like the Wayland display header file that has this macro is not being included. The macro definition exists on the Wayland header file, but it is not being included, maybe is being hidden by some #define checking.

comment:3 Changed 9 months ago by PC

  • Resolution set to fixed
  • Status changed from new to closed

(In [75182]) build fix for GTK+ 3.10, closes #15667

Note: See TracTickets for help on using tickets.