View previous topic :: View next topic |
Author |
Message |
Drohelf
Joined: 28 Mar 2011 Posts: 15 Location: DE
|
Posted: Mon Mar 28, 2011 3:07 pm Post subject: Building gtkD 1.4 |
|
|
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 |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Tue Mar 29, 2011 2:27 pm Post subject: |
|
|
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 |
|
|
Drohelf
Joined: 28 Mar 2011 Posts: 15 Location: DE
|
Posted: Tue Mar 29, 2011 2:49 pm Post subject: |
|
|
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 |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Tue Mar 29, 2011 3:55 pm Post subject: |
|
|
Why do these bugs always popup right after the release
Fixed in svn r820 |
|
Back to top |
|
|
Drohelf
Joined: 28 Mar 2011 Posts: 15 Location: DE
|
Posted: Tue Mar 29, 2011 4:20 pm Post subject: |
|
|
ye sorry
now how do I update this? (yes I am too tired to check the frontpage again, I think it was there... somewhere....) |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Tue Mar 29, 2011 11:31 pm Post subject: |
|
|
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 |
|
|
Drohelf
Joined: 28 Mar 2011 Posts: 15 Location: DE
|
Posted: Wed Mar 30, 2011 1:29 am Post subject: |
|
|
Thanks a ton, it builds without error now.
yay :3 |
|
Back to top |
|
|
|