On Thursday, 26 June 2014 at 08:36:15 UTC, Chris wrote:
On Wednesday, 25 June 2014 at 09:29:35 UTC, Orfeo wrote:
I wanted to create a simple application to display and edit
data from postgresql database using GtkD and ddb
(https://github.com/pszturmaj/ddb)
The application should run on WinXp or Win7. After a week of
work I throw in the towel ...
1. The first problem
$ dub build
Unexpected Termination OPTLINK at t = EIP 0040F5Ba
After many attempts to find a solution
(http://forum.dlang.org/thread/gskuwiynupngpungy...@forum.dlang.org)
$ dub build --rdmd
After writing a bit of code another problem:
$ dub build --rdmd
Error 45: Too Much Data for Old DEBUG CodeView format
$ dub --build=release --rdmd
C:\Documents and Settings\dao\Application
Data\dub\packages\gtk-d-2.3.3\src\gtk\Builder.d(489): Error:
ICE: cannot append 'char' to 'string'
(see https://github.com/gtkd-developers/GtkD/issues/91 and
https://issues.dlang.org/show_bug.cgi?id=12243)
I love D but, with tail between legs, I come back to csharp...
(BTW on Linux it's works well)
That's why I think D needs its own GUI like Java Swing. You
could however try PyD and use a Python UI (i.e. have D do the
work and use a Python UI) or you try a solution with, say, Lua.
Or anything that is based on C like Tk and IUP, if you don't
mind writing the interfaces yourself. Cf.
https://en.wikipedia.org/wiki/IUP_%28software%29
See also
https://en.wikipedia.org/wiki/List_of_widget_toolkits#Based_on_C_.28including_bindings_to_other_languages.29
Maybe this could be of interest to you:
http://www.tecgraf.puc-rio.br/iup/