View previous topic :: View next topic |
Author |
Message |
bernd
Joined: 12 May 2006 Posts: 3
|
Posted: Thu Nov 08, 2007 12:46 pm Post subject: Build failure which dsss |
|
|
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 |
|
|
okibi
Joined: 04 Jan 2007 Posts: 170
|
Posted: Fri Nov 09, 2007 4:57 am Post subject: |
|
|
Seem's like it's picking up the Tango code, however Tango is not yet fully supported and is error prone. |
|
Back to top |
|
|
kaarna
Joined: 03 Apr 2006 Posts: 92 Location: Finland
|
Posted: Fri Nov 09, 2007 8:33 am Post subject: |
|
|
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 |
|
|
okibi
Joined: 04 Jan 2007 Posts: 170
|
Posted: Mon Nov 12, 2007 4:51 am Post subject: |
|
|
*okibi doesn't use Tango* |
|
Back to top |
|
|
|