我正在嘗試在我的Gtk3
應用上整合一個終端,但是當我編譯這個應用時,我得到了那個錯誤, 。gtk3不能用vte編譯
(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)
因爲vte
LIB使用gtk2
。
我使用這個命令來編譯。
gcc -o test test.c `pkg-config --cflags --libs gtk+-3.0 vte`
我該如何解決這個問題?
您應該定義版本的'vte'圖書館。你現在的是什麼? – meskobalazs 2015-01-04 13:51:26