Re: [glade--]help me!I use the glademm2.0.0 to compile a simple project,but the errors is following :
Christof Petig <[email protected]>
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Organization | Adolf Petig GmbH & Co. KG |
| Message-ID | <[email protected]> |
rong jun wrote:
>> 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/include/atk-1.0 -o test test.o -Wl,--export-dynamic
>> 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]()'
You need to link with window1_glade.o and window1.o. Since it sounds
like you did not modify the Makefile.am, you might have a problem with
automake/autoconf.
Look for errors during the autogen.sh stage (combined autoconf/automake
invocation).
Christof