After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 507521 - Glademm Project does not compile
Glademm Project does not compile
Status: RESOLVED INVALID
Product: gtkmm
Classification: Bindings
Component: build
unspecified
Other Linux
: Normal blocker
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2008-01-05 17:43 UTC by Pikachu444
Modified: 2008-01-14 01:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pikachu444 2008-01-05 17:43:21 UTC
The following errors occoured when you try to compile:

$ g++ something.cc -o something `pkg-config gtkmm-2.4 --cflags --libs`
/tmp/ccmnV9VL.o: In function `window1::window1()':
something.cc:(.text._ZN7window1C1Ev[window1::window1()]+0x46): undefined reference to `window1_glade::window1_glade()'
/tmp/ccmnV9VL.o: In function `window1::~window1()':
something.cc:(.text._ZN7window1D0Ev[window1::~window1()]+0x57): undefined reference to `window1_glade::~window1_glade()'
/tmp/ccmnV9VL.o: In function `window1::~window1()':
something.cc:(.text._ZN7window1D1Ev[window1::~window1()]+0x57): undefined reference to `window1_glade::~window1_glade()'
/tmp/ccmnV9VL.o:(.rodata._ZTC7window10_13window1_glade[vtable for window1]+0xc): undefined reference to `typeinfo for window1_glade'
/tmp/ccmnV9VL.o:(.rodata._ZTC7window10_13window1_glade[vtable for window1]+0x10): undefined reference to `window1_glade::~window1_glade()'
/tmp/ccmnV9VL.o:(.rodata._ZTC7window10_13window1_glade[vtable for window1]+0x14): undefined reference to `window1_glade::~window1_glade()'
/tmp/ccmnV9VL.o:(.rodata._ZTC7window10_13window1_glade[vtable for window1]+0x150): undefined reference to `typeinfo for window1_glade'
/tmp/ccmnV9VL.o:(.rodata._ZTC7window10_13window1_glade[vtable for window1]+0x154): undefined reference to `non-virtual thunk to window1_glade::~window1_glade()'
/tmp/ccmnV9VL.o:(.rodata._ZTC7window10_13window1_glade[vtable for window1]+0x158): undefined reference to `non-virtual thunk to window1_glade::~window1_glade()'
/tmp/ccmnV9VL.o:(.rodata._ZTC7window10_13window1_glade[vtable for window1]+0x17c): undefined reference to `typeinfo for window1_glade'
/tmp/ccmnV9VL.o:(.rodata._ZTC7window10_13window1_glade[vtable for window1]+0x180): undefined reference to `virtual thunk to window1_glade::~window1_glade()'
/tmp/ccmnV9VL.o:(.rodata._ZTC7window10_13window1_glade[vtable for window1]+0x184): undefined reference to `virtual thunk to window1_glade::~window1_glade()'
/tmp/ccmnV9VL.o:(.rodata._ZTI7window1[typeinfo for window1]+0x8): undefined reference to `typeinfo for window1_glade'
collect2: ld returned 1 exit status
$
Comment 1 Murray Cumming 2008-01-13 18:27:11 UTC
The glademm code generator is not part of gtkmm or the gnomemm project. (libglademm is).
Comment 2 Deng Xiyue 2008-01-14 01:22:49 UTC
From the build log, it seems the failure is caused by the constructor and destructor of class window1_glade not being defined, which has not thing to do with gtkmm and glademm.