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

Building gtkD 1.4

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



Joined: 28 Mar 2011
Posts: 15
Location: DE

PostPosted: Mon Mar 28, 2011 3:07 pm    Post subject: Building gtkD 1.4 Reply with quote

Hello everyone,

I just recently picked up D as a language to learn (pretty much my first one) and want to start with some small minor programs using gtkd for the GUI.

Having absolutely no clue about how to do what and never having worked with gtk before, I am now stuck with building gtkd using DSSS 0.78 . Since I am the only one in the chat currently, I hope someone will check the forums sometime and help me out.


Currently, DSSS builds gtkd up to the "atk" stuff and then aborts and throw the following error message:
"gobject\ObjectG.d(86): module gc cannot read file std\gc.d"

I intend to use D1 in combination with Tango, mostly because the Tango structure seems a lot more intuitive to me and I have no idea what's better/new to D2 anyway.
If you require any additional information, please do tell.

I hope you can help me,

- Drohelf
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Tue Mar 29, 2011 2:27 pm    Post subject: Reply with quote

Did you change the configuration for dsss so it uses Tango.

You can find the configuration file at (Directory where dsss resides)/etc/rebuild/default
this file contains one line that specifies the config to use, witch config file depends on the compiler and platform that you use.

But probably dmd-posix-tango or dmd-win-tango.
Back to top
View user's profile Send private message
Drohelf



Joined: 28 Mar 2011
Posts: 15
Location: DE

PostPosted: Tue Mar 29, 2011 2:49 pm    Post subject: Reply with quote

Thanks, I changed that. At first it didn't work, but I noticed I actually had D2.0 without Tango on my computer - D1 with Tango was on another one, I mixed that up. I now unzipped Tango + D1, deleted D2 and reset my PATH variable.

It starts building now, but aborts when trying to build "glib" - "C:\(...)\import\tango\stdc\posix\stdio.d(181): identifier off_t is not defined"

and subsequent errors like "cannot have parameter of type void", though they sound like being errors produced by the above one.

It does build everything before glib, though.

Oh, and I use Windows.
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Tue Mar 29, 2011 3:55 pm    Post subject: Reply with quote

Why do these bugs always popup right after the release Sad

Fixed in svn r820
Back to top
View user's profile Send private message
Drohelf



Joined: 28 Mar 2011
Posts: 15
Location: DE

PostPosted: Tue Mar 29, 2011 4:20 pm    Post subject: Reply with quote

ye sorry Sad

now how do I update this? Very Happy (yes I am too tired to check the frontpage again, I think it was there... somewhere....)
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Tue Mar 29, 2011 11:31 pm    Post subject: Reply with quote

I'll wait a few day to see if this was the only one that slipped trough, before putting up a new zip file.

If you don't have svn you can download the affected file separately: src/glib/Spawn.d
Back to top
View user's profile Send private message
Drohelf



Joined: 28 Mar 2011
Posts: 15
Location: DE

PostPosted: Wed Mar 30, 2011 1:29 am    Post subject: Reply with quote

Thanks a ton, it builds without error now.

yay :3
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