View previous topic :: View next topic |
Author |
Message |
thornik
Joined: 18 Mar 2008 Posts: 16
|
Posted: Tue Mar 18, 2008 5:36 am Post subject: gtkD and D 2.0 - possible? |
|
|
Heya, ppl!
I have D 2.0 and want to use gtkD. Lately I tried to compile sources, but they gives me error related "char[]" incompatibility with immutable strings. Well, this damn restriction I passed, changing char[] to string and compilation was successful, BUT linking failed with A LOT of undefined symbols.
What I need to download or use? Is it possible to create gtkD applications with D 2.0?
Thanks anybody. |
|
Back to top |
|
|
okibi
Joined: 04 Jan 2007 Posts: 170
|
Posted: Tue Mar 18, 2008 6:44 am Post subject: |
|
|
GtkD is currently not compatible with D 2.0. This is mostly due to the fact that D 2.0 is unstable and not yet officially released (as in is still in it's alhpa, beta stages). Once D 2.0 is stable, GtkD may be geared to work with it. |
|
Back to top |
|
|
thornik
Joined: 18 Mar 2008 Posts: 16
|
Posted: Tue Mar 18, 2008 7:07 am Post subject: |
|
|
okibi wrote: | GtkD is currently not compatible with D 2.0. This is mostly due to the fact that D 2.0 is unstable |
Sorry, I don't see any relation between this facts. What kind of "unstability" or errors of D 2.0 prevent compiling/using gtkD? |
|
Back to top |
|
|
okibi
Joined: 04 Jan 2007 Posts: 170
|
Posted: Tue Mar 18, 2008 8:47 am Post subject: |
|
|
Sorry, let me rephrase that. D 2.0 is alpha, which is considered a (not stable) state.
D 2.0 has many differences than D 1.0 that mean GtkD will not work "out of the box". This doesn't mean it can't work with it, just that it needs some editing. It can be done, but due to it's state of alpha, there is no reason to do it yet. |
|
Back to top |
|
|
thornik
Joined: 18 Mar 2008 Posts: 16
|
Posted: Tue Mar 18, 2008 9:10 am Post subject: |
|
|
OK, understood (a little ). May be start supporting 2.0 now to be ready for "release date"? Sure, people already plays with D 2.0 and now (I think) it's very important to have at least ONE NORMAL GUI library. D lacks a lot of smart guys just because there is no way to make nice, GUI applications. |
|
Back to top |
|
|
okibi
Joined: 04 Jan 2007 Posts: 170
|
Posted: Tue Mar 18, 2008 9:24 am Post subject: |
|
|
Sorry for the confusion!
I didn't mean to say that we don't intend to support D 2.0, just not yet. At least let it go beta! |
|
Back to top |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Tue Mar 18, 2008 9:40 am Post subject: Re: gtkD and D 2.0 - possible? |
|
|
thornik wrote: | Heya, ppl!
I have D 2.0 and want to use gtkD. Lately I tried to compile sources, but they gives me error related "char[]" incompatibility with immutable strings. Well, this damn restriction I passed, changing char[] to string and compilation was successful, BUT linking failed with A LOT of undefined symbols.
What I need to download or use? Is it possible to create gtkD applications with D 2.0?
Thanks anybody. |
Allow me to add to this discussion.
When I started gtkD D was very unstable.
It was a nightmare! I spent more time fighting D then thinking on gtkD.
I don't advise anyone to jump too soon to D2.0.
After that experience I have been ignoring 2.0 - I don't want to go through the same again.
anyway, Okibi is the man now
Ant |
|
Back to top |
|
|
thornik
Joined: 18 Mar 2008 Posts: 16
|
Posted: Wed Mar 19, 2008 1:28 am Post subject: Re: gtkD and D 2.0 - possible? |
|
|
Everything depends from personal qualification and experience. Sometime "fighting" is just a studying how to use properly some features. :)
With developing gtkD for D 2.0 you will: 1) Better study new stuff of D 2) Help D developers to find more bugs (if they ARE bugs) 3) Prepare good library for wide usage.
Without good, stable GUI we cannot go forward - no IDE, no applications. D are under risk to be buried, either it's the best language or not. |
|
Back to top |
|
|
okibi
Joined: 04 Jan 2007 Posts: 170
|
Posted: Wed Mar 19, 2008 3:31 am Post subject: |
|
|
In that case, feel free to make GtkD D 2.0 compatible. |
|
Back to top |
|
|
thornik
Joined: 18 Mar 2008 Posts: 16
|
Posted: Wed Mar 19, 2008 7:17 am Post subject: |
|
|
okibi wrote: | In that case, feel free to make GtkD D 2.0 compatible. :) |
Sure, I did! But problem (see above) was with binary library - it didn't contain proper names. Hate this damn mess of library formats. |
|
Back to top |
|
|
Ant
Joined: 06 Mar 2004 Posts: 306 Location: Canada
|
Posted: Wed Mar 19, 2008 8:19 am Post subject: Re: gtkD and D 2.0 - possible? |
|
|
thornik wrote: | Everything depends from personal qualification and experience. Sometime "fighting" is just a studying how to use properly some features. :)
|
I'm sorry if I didn't explained my self clearly but here it is, hope it's clear now:
dmd was crap - as you expected from a new developing product. I'm not blaming Walter, I blame myself for starting too soon.
I'm just afraid to go too soon to D2.0 and see features poorly implemented, buggy and changing constantly.
But I expect supporting D2.0 to be very simple - we just need someone that gets interested on the task.
gtkD is a very simple product, there is nothing fancy in it.
Ant |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Thu Mar 20, 2008 4:24 pm Post subject: |
|
|
okibi wrote: | In that case, feel free to make GtkD D 2.0 compatible. |
I have the TestWindow demo running with dmd 2.012, only a few things left to look into. |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Tue Mar 25, 2008 4:52 pm Post subject: |
|
|
svn r480 should work with dmd 2.012. |
|
Back to top |
|
|
|