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

Build failure which dsss

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



Joined: 12 May 2006
Posts: 3

PostPosted: Thu Nov 08, 2007 12:46 pm    Post subject: Build failure which dsss Reply with quote

Hi,
I want install gtkD with dsss, it begins vo
ery hopefully, but then it stop in compiling g_object:
Code:

gobject => DD-gobject
+ /opt/bin/rebuild -Idsss_imports/ -I. -S./ -I/opt/include/d -S/opt/lib/  -I/opt/include/d -S/opt/lib -I/root/d/include/d -S/root/d/lib  -oqdsss_objs/D  -explicit -lib gobject/ParamSpec.d gobject/Value.d gobject/Boxed.d gobject/Flags.d gobject/Signals.d gobject/TypePlugin.d gobject/Enums.d gobject/CClosure.d gobject/ObjectG.d gobject/Type.d gobject/Closure.d gobject/ValueArray.d gobject/TypeModule.d -oflibDD-gobject.a
gobject/ObjectG.d(180): Error: undefined identifier gc
gobject/ObjectG.d(180): Error: undefined identifier gc
gobject/ObjectG.d(180): Error: no property 'addRoot' for type 'int'
gobject/ObjectG.d(180): Error: function expected before (), not 1 of type int
gobject/ObjectG.d(192): Error: undefined identifier gc
gobject/ObjectG.d(192): Error: undefined identifier gc
gobject/ObjectG.d(192): Error: no property 'removeRoot' for type 'int'
gobject/ObjectG.d(192): Error: function expected before (), not 1 of type int
Command /opt/bin/rebuild returned with code 256, aborting.
Error: Command failed, aborting.

has everybody some idea, what to do. Thanks.
MfG bernd
Back to top
View user's profile Send private message
okibi



Joined: 04 Jan 2007
Posts: 170

PostPosted: Fri Nov 09, 2007 4:57 am    Post subject: Reply with quote

Seem's like it's picking up the Tango code, however Tango is not yet fully supported and is error prone.
Back to top
View user's profile Send private message
kaarna



Joined: 03 Apr 2006
Posts: 92
Location: Finland

PostPosted: Fri Nov 09, 2007 8:33 am    Post subject: Reply with quote

Ok, I'll try to say something here, but I can't check this anywhere right now... But try this:
Go to the file src/gobject/ObjectG.d and replace all gc. with GC.
So, it's supposed to be GC in capitals atleast according to the current Tango documentation... I have no idea where does this problem come from... Maybe it used to be "gc".

To say it in another way: Instead of gc.addRoot() use GC.addRoot() and the same for GC.removeRoot()... in the file src/gobject/ObjectG.d.

That should work...
Back to top
View user's profile Send private message AIM Address MSN Messenger
okibi



Joined: 04 Jan 2007
Posts: 170

PostPosted: Mon Nov 12, 2007 4:51 am    Post subject: Reply with quote

*okibi doesn't use Tango*
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