I'm trying to integrate a terminal on my Gtk3
app but when i compile the app,
i got that error.
(csimpleide:9858): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
Trace/breakpoint trap (core dumped)
because the vte
lib use gtk2
.
i use this command to compile.
gcc -o test test.c `pkg-config --cflags --libs gtk+-3.0 vte`
how i can resolve this ??
You should define a gtk3
based VTE library version, on my Ubuntu 14.04 PC, the appropriate vte
version is 2.90
, so the compilation command would be:
gcc -o test test.c `pkg-config --cflags --libs gtk+-3.0 vte-2.90`