Re: Gtk Text View Question


Sun5# gcc -Wall `pkg-config --cflags --libs gtk+-2.0` Test1.c -o Test1
Test1.c: In function `createConsoleBox':
Test1.c:6: warning: implicit declaration of function 
Test1.c:6: warning: passing arg 1 of `gtk_vscrollbar_new' makes pointer 
from integer without a cast
Undefined                       first referenced
  symbol                             in file
gtk_text_view_get_vadjustment       /var/tmp//ccS4tO2f.o
ld: fatal: Symbol referencing errors. No output written to Test1
collect2: ld returned 1 exit status

Thomas Dineen

What version of GTK+ is installed on your machine? get_vadjustment()
function is only available since GTK+-2.22. You can check your version
like this:

  pkg-config --modversion gtk+-2.0


Tadej Borovšak
tadej borovsak gmail com
tadeboro gmail com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]