I build on Xubuntu 14.04 which has Wayland compiled in by default, it seems.
I then distribute binaries, which means that on systems which do not
have Wayland compiled in by default (Gentoo, openSuse), my program won't
launch:
./transcribe: symbol lookup error: ./transcribe: undefined symbol:
gdk_wayland_display_get_type
So I looked for references to wayland in wx, there are very few, only in
src/gtk/toplevel.cpp, so I removed them - change
#ifdef GDK_WINDOWING_WAYLAND
to
#ifdef GDK_WINDOWING_WAYLANDxxx
and this fixes it.
My point is, I think there should be an option in configure where we can
choose whether to include any wayland code.
I don't know enough about how configure works to tackle this myself but
I just thought I'd mention it as a suggestion, and as a warning to
anyone who wants to build portable Linux binaries.
Also I don't know if what I have done is safe - please advise!
Regards,
Andy Robinson, Seventh String Software,
www.seventhstring.com