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

Unable to build GTKd 2.0 and DMD 2.060 with DSSS 0.78

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



Joined: 05 Aug 2009
Posts: 17

PostPosted: Mon Sep 10, 2012 2:43 pm    Post subject: Unable to build GTKd 2.0 and DMD 2.060 with DSSS 0.78 Reply with quote

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
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Tue Sep 11, 2012 3:10 pm    Post subject: Reply with quote

DSSS only works with an very old version of dmd2.

To build GtkD on windows you can use build/bud with the build/bud file provided in src/build/GtkD.brf
or you can follow the method outlined in the wiki on Github:
https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows
Back to top
View user's profile Send private message
jkinsey



Joined: 05 Aug 2009
Posts: 17

PostPosted: Fri Oct 05, 2012 7:14 am    Post subject: Reply with quote

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
View user's profile Send private message
jkinsey



Joined: 05 Aug 2009
Posts: 17

PostPosted: Fri Oct 05, 2012 11:53 am    Post subject: Reply with quote

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
View user's profile Send private message
jkinsey



Joined: 05 Aug 2009
Posts: 17

PostPosted: Fri Oct 05, 2012 2:46 pm    Post subject: Reply with quote

Ok I finally got the static lib. I had to use Build/Bud Confused Also I noticed that I cannot compile any of the demos with dmd itself however I can compile them with Build/Bud Question Confused 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
View user's profile Send private message
Jordi Sayol



Joined: 14 Nov 2011
Posts: 14

PostPosted: Fri Oct 05, 2012 4:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Sun Oct 07, 2012 4:33 am    Post subject: Reply with quote

jkinsey wrote:
Ok I finally got the static lib. I had to use Build/Bud Confused Also I noticed that I cannot compile any of the demos with dmd itself however I can compile them with Build/Bud Question Confused 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
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