View previous topic :: View next topic |
Author |
Message |
JMNorris
Joined: 26 Jul 2007 Posts: 4
|
Posted: Wed Aug 18, 2010 12:32 pm Post subject: Dsss build by dmd 2 |
|
|
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 |
|
|
elkano
Joined: 19 Jun 2009 Posts: 24
|
Posted: Thu Aug 19, 2010 9:31 am Post subject: |
|
|
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 |
|
|
Epileg
Joined: 10 Sep 2009 Posts: 77
|
|
Back to top |
|
|
JMNorris
Joined: 26 Jul 2007 Posts: 4
|
Posted: Sat Aug 21, 2010 9:41 am Post subject: |
|
|
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.
1 other mixin error. _________________ -- JMNorris |
|
Back to top |
|
|
JMNorris
Joined: 26 Jul 2007 Posts: 4
|
Posted: Mon Aug 23, 2010 6:39 pm Post subject: |
|
|
I submitted a ticket and was advised to try the svn version which bud built successfully using dmd2. Problem solved. _________________ -- JMNorris |
|
Back to top |
|
|
|