View previous topic :: View next topic |
Author |
Message |
WinerFresh
Joined: 03 Nov 2008 Posts: 5
|
Posted: Tue Nov 04, 2008 10:36 am Post subject: [solved] Error when I compile Glade project |
|
|
I use Ubuntu 8.04 HH + Descent + DSSS + GDC and when i try to compile something with
Code: | import glade.Glade; |
I get
Code: | /usr/local/lib/libDG-gtk.a(gtk.FileChooserDialog.o):(.data._D41TypeInfo_E4gtkc8gtktypes15GtkResponseType6__initZ[_D41TypeInfo_E4gtkc8gtktypes15GtkResponseType6__initZ]+0x18): undefined reference to `___s.3824'
collect2: ld returned 1 exit status |
Please help!
Last edited by WinerFresh on Wed Nov 05, 2008 6:32 pm; edited 1 time in total |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Tue Nov 04, 2008 12:56 pm Post subject: |
|
|
This is because of gdc bug #1746
the workaround attached to ticket #4 should fix the problem. |
|
Back to top |
|
|
WinerFresh
Joined: 03 Nov 2008 Posts: 5
|
Posted: Tue Nov 04, 2008 2:15 pm Post subject: |
|
|
can you tell me what i must do because I'm newbie and I have some problems with understand this |
|
Back to top |
|
|
heromyth
Joined: 26 Nov 2006 Posts: 46
|
Posted: Wed Nov 05, 2008 9:12 am Post subject: |
|
|
WinerFresh wrote: | can you tell me what i must do because I'm newbie and I have some problems with understand this |
Why not DMD D Compiler (linux)? |
|
Back to top |
|
|
WinerFresh
Joined: 03 Nov 2008 Posts: 5
|
Posted: Wed Nov 05, 2008 9:31 am Post subject: |
|
|
because gdc is simply to install in ubuntu and easier to compare with gtk but glade not working
//EDIT: I fix it, it mus bi write that:
Code: |
import gtk.MainWindow;
import gtk.Label;
import gtk.Main;
//etc.
import glade.Glade;
|
And then it run on gdc.
Last edited by WinerFresh on Wed Nov 05, 2008 6:31 pm; edited 1 time in total |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Wed Nov 05, 2008 1:10 pm Post subject: |
|
|
Download the gdc_undefsymbol_workaround.sh attached to the ticket, and run it from the root (the directory that contains: src, demos, wrap, ... ) of the gtkd source. And recompile gtkd. |
|
Back to top |
|
|
|