Compile error under win2000,need help!

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

 



When I compiled my first gtk program using mingw under windows 2000, I encountered these errors:

E:\cpp\gtktest\Debug\test.o(.text+0x1f): In function `main':
E:\cpp\gtktest\test.cpp:8: undefined reference to `gtk_set_locale'
E:\cpp\gtktest\Debug\test.o(.text+0x38):E:\cpp\gtktest\test.cpp:11: undefined reference to `gtk_init_abi_check'
E:\cpp\gtktest\Debug\test.o(.text+0x45):E:\cpp\gtktest\test.cpp:14: undefined reference to `gtk_window_new'
E:\cpp\gtktest\Debug\test.o(.text+0x56):E:\cpp\gtktest\test.cpp:19: undefined reference to `gtk_widget_show_all'
E:\cpp\gtktest\Debug\test.o(.text+0x5e):E:\cpp\gtktest\test.cpp:22: undefined reference to `gtk_main'

I have configured my compiler according to the "usages" on this website. I am a newbie. Who can tell me what I should do?

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux