gtk---0.11.1 hello.cc compile errors



Hello,

linux 2.0.30
  gtk+-1.1.12	// default /usr/local
  glib-1.1.12	// default /usr/local
  gtk---0.11.1 	// default /usr/local
    egcs-1.1.1

$gtkmm-config --cflags  -I/usr/local/lib/Gtk--/include
			-I/usr/local/include
			-I/usr/local/lib/glib/include

$gtkmm-config --libs    -rdynamic -L/usr/local/lib
			-L/usr/X11/lib
			-lgtkmm
			-lgdkmm 
			-lgtk
			-lgdk 
			-lgmodule 
			-lglib 
			-ldl 
			-lXext 
			-lX11 
			-lm

$ g++ `gtkmm-config --cflags` `gtkmm-config--libs` -g -o hello hello.cc

gives the following errors:

/usr/local/lib/libgtkmm.so: undefined reference to
`gtk_style_apply_default_background'
/usr/local/lib/libgtkmm.so: undefined reference to
`gtk_toggle_button_set_active'
/usr/local/lib/libgtkmm.so: undefined reference to
`gtk_check_menu_item_set_active'
collect2: ld returned 1 exit status

Permissions have been changed in the Gtk---0.11.1/examples dir so I can
write to it. The Gtk---0.11.0 package seemed to compile and install
without errors. Gtk+-1.1.12 tutorial programs compile and run. Any
suggestions as to where to look to correct the above errors? I have
looked in the docs and found "Gtk_ToggleButton()", but the calls in the
error messages confuse me. 

Thanx,
Corky



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