[Geany-Devel] Linker issues with VTE

Colomban Wendling lists.ban at xxxxx
Wed Feb 21 22:12:31 UTC 2018


Le 21/02/2018 à 15:06, Lars Paulsen a écrit :
> Hi All,
> 
> during porting the scope plugin to GTK3 I had to switch from "GdkColor"
> to
> <https://developer.gnome.org/gdk3/stable/gdk3-RGBA-Colors.html#GdkRGBA>"GdkRGBA".
> The scope code was calling "vte_terminal_set_color_foreground" which
> according to the geany header files seems to have a replacement  which I
> called instead: "vte_terminal_set_color_foreground_rgba". Since I
> replaced the call I get linker errors.
> 
> I saw that geany is creating the functions through a macro surrounded by
> some version checks. I assume I have to change something on the build
> parameters for geany to make it work. Please help.

Don't touch Geany itself, only Geany-Plugins.  And you have to change so
you use a GTK3 version of libvte with that function ("libvte2.90"
package IIRC) and not the GTK2 version ("vte").

Regards,
Colomban


More information about the Devel mailing list