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

Dsss build by dmd 2

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



Joined: 26 Jul 2007
Posts: 4

PostPosted: Wed Aug 18, 2010 12:32 pm    Post subject: Dsss build by dmd 2 Reply with quote

I tried to build GtkD with dsss:
dmd: 2.047 fo Windows
GtkD: 1.3.2
dsss: 0.78

I got the following error:
Quote:

atk => DD-atk
gobject\ObjectG.d(86): module gc cannot read file 'std\gc.d'
Command C:\Apps\DigitalMars\DSSS\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.


I looked at the offending code in ObjectG.d:
Code:
version(Tango) {
   private import tango.core.Memory;

   version = druntime;
} else version(D_Version2) {
   private import core.memory;

   version = druntime;
} else {
   private import std.gc;
}


The offending line tries to import std.gc. This suggests that it is being built by dmd 1 rather than dmd 2.

I tried a small test program using version(...). Building with dsss and running showed (or least seemed to show) it to be compiled by dmd 2.

I have no idea whether the problem is with GtkD, dsss, my setup, or what. Any ideas would be appreciated.
_________________
-- JMNorris
Back to top
View user's profile Send private message
elkano



Joined: 19 Jun 2009
Posts: 24

PostPosted: Thu Aug 19, 2010 9:31 am    Post subject: Reply with quote

I didn't go into the whys, but gtkD is compilable with D2 using the makefiles, not dsss (actually, rebuild -on which relies dsss- seems to not work with D2, and since it is abandoned, it probably never will).
Back to top
View user's profile Send private message
Epileg



Joined: 10 Sep 2009
Posts: 77

PostPosted: Thu Aug 19, 2010 5:03 pm    Post subject: Reply with quote

Go here to know how to compile GtkD in Windows

http://dsource.org/forums/viewtopic.php?t=5129

Best regards,
Back to top
View user's profile Send private message
JMNorris



Joined: 26 Jul 2007
Posts: 4

PostPosted: Sat Aug 21, 2010 9:41 am    Post subject: Reply with quote

Thank you for you helpful advice.

I tried to compile with bud as suggested and got a number of compiler errors.

59 errors reporting that a function with a inout parameter needs its reurn value
also to be inout.

6186 error messages related to 13 failed mixns. I suspect the maintainers will
like the number 13 better than the number 6186. Smile

1 other mixin error.
_________________
-- JMNorris
Back to top
View user's profile Send private message
JMNorris



Joined: 26 Jul 2007
Posts: 4

PostPosted: Mon Aug 23, 2010 6:39 pm    Post subject: Reply with quote

I submitted a ticket and was advised to try the svn version which bud built successfully using dmd2. Problem solved.
_________________
-- JMNorris
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