FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[solved] Error when I compile Glade project

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
WinerFresh



Joined: 03 Nov 2008
Posts: 5

PostPosted: Tue Nov 04, 2008 10:36 am    Post subject: [solved] Error when I compile Glade project Reply with quote

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
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Tue Nov 04, 2008 12:56 pm    Post subject: Reply with quote

This is because of gdc bug #1746

the workaround attached to ticket #4 should fix the problem.
Back to top
View user's profile Send private message
WinerFresh



Joined: 03 Nov 2008
Posts: 5

PostPosted: Tue Nov 04, 2008 2:15 pm    Post subject: Reply with quote

can you tell me what i must do because I'm newbie and I have some problems with understand this Embarassed
Back to top
View user's profile Send private message
heromyth



Joined: 26 Nov 2006
Posts: 46

PostPosted: Wed Nov 05, 2008 9:12 am    Post subject: Reply with quote

WinerFresh wrote:
can you tell me what i must do because I'm newbie and I have some problems with understand this Embarassed


Why not DMD D Compiler (linux)?
Back to top
View user's profile Send private message
WinerFresh



Joined: 03 Nov 2008
Posts: 5

PostPosted: Wed Nov 05, 2008 9:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Wed Nov 05, 2008 1:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group