[glade--]help me!I use the glademm2.0.0 to compile a simple project,but the errors is following :

rong jun <[email protected]>
Newsgroups gmane.comp.gnome.glademm
Message-ID <[email protected]>
> rong@linux:~/projects/test> make
> make  all-recursive
> make[1]: Entering directory `/home/rong/projects/test'
> Making all in src
> make[2]: Entering directory `/home/rong/projects/test/src'
> /bin/sh ../libtool --mode=link g++  -g -O2 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0      -o test  test.o -Wl,--export-dynamic -lgtkmm-2.0 -lgdkmm-2.0 -latkmm-1.0 -lgtk-x11-2.0 -lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> g++ -g -O2 -I/usr/include/gtkmm-2.0 -I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0 -o test test.o -Wl,--export-dynamic  /usr/lib/libgtkmm-2.0.so /usr/lib/libgdkmm-2.0.so /usr/lib/libatkmm-1.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libpangomm-1.0.so /usr/lib/libglibmm-2.0.so /usr/lib/libsigc-1.2.so /usr/lib/libstdc++.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
> test.o(.text+0x5a): In function `main':
> /home/rong/projects/test/src/test.cc:21: undefined reference to `window1_glade::window1_glade[not-in-charge]()'
> test.o(.gnu.linkonce.r._ZTC7window10_13window1_glade+0xc):/home/rong/projects/test/src/test.cc:20: undefined reference to `typeinfo for window1_glade'
> test.o(.gnu.linkonce.r._ZTC7window10_13window1_glade+0x10):/home/rong/projects/test/src/test.cc:20: undefined reference to `window1_glade::~window1_glade [in-charge]()'
> test.o(.gnu.linkonce.r._ZTC7window10_13window1_glade+0x14):/home/rong/projects/test/src/test.cc:20: undefined reference to `window1_glade::~window1_glade [in-charge deleting]()'
> test.o(.gnu.linkonce.r._ZTC7window10_13window1_glade+0x16c): undefined reference to `typeinfo for window1_glade'
> test.o(.gnu.linkonce.r._ZTC7window10_13window1_glade+0x170): undefined reference to `virtual thunk [v:0,-16] to window1_glade::~window1_glade [in-charge]()'
> test.o(.gnu.linkonce.r._ZTC7window10_13window1_glade+0x174): undefined reference to `virtual thunk [v:0,-16] to window1_glade::~window1_glade [in-charge deleting]()'
> test.o(.gnu.linkonce.r._ZTC7window10_13window1_glade+0x19c): undefined reference to `typeinfo for window1_glade'
> test.o(.gnu.linkonce.r._ZTC7window10_13window1_glade+0x1ac): undefined reference to `virtual thunk [v:0,-24] to window1_glade::~window1_glade [in-charge]()'
> test.o(.gnu.linkonce.r._ZTC7window10_13window1_glade+0x1b0): undefined reference to `virtual thunk [v:0,-24] to window1_glade::~window1_glade [in-charge deleting]()'
> test.o(.gnu.linkonce.t._ZN7window1D0Ev+0x26): In function `window1::~window1 [in-charge deleting]()':
> /home/rong/projects/test/src/test.cc:21: undefined reference to `window1_glade::~window1_glade [not-in-charge]()'
> test.o(.gnu.linkonce.t._ZN7window1D1Ev+0x26): In function `window1::~window1 [in-charge]()':
> /home/rong/projects/test/src/test.cc:21: undefined reference to `window1_glade::~window1_glade [not-in-charge]()'
> test.o(.gnu.linkonce.r._ZTI7window1+0x8): undefined reference to `typeinfo for window1_glade'
> collect2: ld returned 1 exit status
> make[2]: *** [test] ?? 1
> make[2]: Leaving directory `/home/rong/projects/test/src'
> make[1]: *** [all-recursive] ?? 1
> make[1]: Leaving directory `/home/rong/projects/test'
> make: *** [all] ?? 2
what is it mean?	The Projects contains a simple window named window1
Please reply to [email protected]
I am looking for your apply.Thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.