View previous topic :: View next topic |
Author |
Message |
jkinsey
Joined: 05 Aug 2009 Posts: 17
|
Posted: Mon Sep 10, 2012 2:43 pm Post subject: Unable to build GTKd 2.0 and DMD 2.060 with DSSS 0.78 |
|
|
I am unable to build the new version of GTKd 2.0 with DSSS 0.78 and DMD 2.060. I get the follwing error below. Anybody have a clue how to fix this. I am building under Windows 7 64bit.
Code: |
C:\GTKd_install>dsss build
undemofy
WARNING: Section for nonexistant file glade.
Creating imports for DD-atk
Creating imports for DD-cairo
Creating imports for DD-gdk
Creating imports for DD-gdkpixbuf
Creating imports for DD-gio
Creating imports for DD-glib
Creating imports for DD-gobject
Creating imports for DD-gthread
Creating imports for DD-gtk
Creating imports for DD-gtkc
Creating imports for DD-pango
atk => DD-atk
gobject\ObjectG.d(95): module gc cannot read file 'std\gc.d'
Command C:\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.
|
|
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
|
Back to top |
|
|
jkinsey
Joined: 05 Aug 2009 Posts: 17
|
Posted: Fri Oct 05, 2012 7:14 am Post subject: |
|
|
Thank you so much for the reply. I don't know how to use build/bud so I will give the other instructions a spin and let you know how it goes. I really don't understand why these libraries do not come pre-complied? |
|
Back to top |
|
|
jkinsey
Joined: 05 Aug 2009 Posts: 17
|
Posted: Fri Oct 05, 2012 11:53 am Post subject: |
|
|
When I try to compile GTKd with the dgen.exe file I get the following.
Code: |
C:\GTKd_install\src>dir /w/p
Volume in drive C is OS
Volume Serial Number is 9A5C-9C4A
Directory of C:\GTKd_install\src
[.] [..] [atk] [build] [cairo] dgen.exe
dsss.conf [gdk] [gdkpixbuf] [gio] [glib] [gobject]
[gthread] [gtk] [gtkc] [pango]
2 File(s) 333,518 bytes
14 Dir(s) 239,968,030,720 bytes free
C:\GTKd_install\src>dgen
build\gtkD.d(612): Error: module SourceBuffer is in file 'gsv\SourceBuffer.d' wh
ich cannot be read
import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
import path[2] = C:\D\dmd2\windows\bin\..\..\src
C:\GTKd_install\src> |
It seems to be missing a module. Any help would be appreciated. |
|
Back to top |
|
|
jkinsey
Joined: 05 Aug 2009 Posts: 17
|
Posted: Fri Oct 05, 2012 2:46 pm Post subject: |
|
|
Ok I finally got the static lib. I had to use Build/Bud Also I noticed that I cannot compile any of the demos with dmd itself however I can compile them with Build/Bud Anyway at least I got it to work somewhat. Now if I can actually make something on my own with it. It would be nice if I could get a DMD command line that I can use to compile GTK apps with instead of being forced to use build/bud or DSSS or some other 3rd party that is not keeping up with the builds of DMD? After all what is worng with just using DMD to compile? |
|
Back to top |
|
|
Jordi Sayol
Joined: 14 Nov 2011 Posts: 14
|
Posted: Fri Oct 05, 2012 4:01 pm Post subject: |
|
|
jkinsey wrote: | When I try to compile GTKd with the dgen.exe file I get the following.
Code: |
C:\GTKd_install\src>dir /w/p
Volume in drive C is OS
Volume Serial Number is 9A5C-9C4A
Directory of C:\GTKd_install\src
[.] [..] [atk] [build] [cairo] dgen.exe
dsss.conf [gdk] [gdkpixbuf] [gio] [glib] [gobject]
[gthread] [gtk] [gtkc] [pango]
2 File(s) 333,518 bytes
14 Dir(s) 239,968,030,720 bytes free
C:\GTKd_install\src>dgen
build\gtkD.d(612): Error: module SourceBuffer is in file 'gsv\SourceBuffer.d' wh
ich cannot be read
import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
import path[2] = C:\D\dmd2\windows\bin\..\..\src
C:\GTKd_install\src> |
It seems to be missing a module. Any help would be appreciated. |
You should remove "src/build" directory before run "dgen" command. |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Sun Oct 07, 2012 4:33 am Post subject: |
|
|
jkinsey wrote: | Ok I finally got the static lib. I had to use Build/Bud Also I noticed that I cannot compile any of the demos with dmd itself however I can compile them with Build/Bud Anyway at least I got it to work somewhat. Now if I can actually make something on my own with it. It would be nice if I could get a DMD command line that I can use to compile GTK apps with instead of being forced to use build/bud or DSSS or some other 3rd party that is not keeping up with the builds of DMD? After all what is worng with just using DMD to compile? |
To compile the demos directly with dmd, use something like this:
Code: |
dmd HelloWorld.d -IC:\GTKd_install\src C:\GTKd_install\src\GtkD.lib
|
Quote: | You should remove "src/build" directory before run "dgen" command. |
And use the updated version from the wiki, the old one would trigger a out of memory error. |
|
Back to top |
|
|
|