www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - [OT]I throw in the towel

reply "Orfeo" <orfeo.davia gmail.com> writes:
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/gskuwiynupngpungybic 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)
Jun 25 2014
parent reply "Chris" <wendlec tcd.ie> writes:
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/gskuwiynupngpungybic 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
Jun 26 2014
parent reply "Chris" <wendlec tcd.ie> writes:
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/gskuwiynupngpungybic 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/
Jun 26 2014
parent reply "Chris" <wendlec tcd.ie> writes:
On Thursday, 26 June 2014 at 08:39:46 UTC, Chris wrote:
 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/gskuwiynupngpungybic 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/
See also: http://wiki.dlang.org/Libraries_and_Frameworks
Jun 26 2014
parent reply "seany" <seany uni-bonn.de> writes:
+ 1 for own GUI + graphics module for D
Jun 26 2014
parent Vasileios Anagnostopoulos via Digitalmars-d-learn writes:
Or join forces with TCLers and FreeBasicers on
FLTK C Wrapper (Fast Light Toolkit v 1.3.2)
<http://www.freebasic.net/forum/viewtopic.php?f=14&t=21548&sid=2edf1499ea3cb2480d480455adb37ee5&start=195#p197848>


On Thu, Jun 26, 2014 at 12:20 PM, seany via Digitalmars-d-learn <
digitalmars-d-learn puremagic.com> wrote:

 + 1 for own GUI + graphics module for D
-- Dr. Vasileios Anagnostopoulos (MSc,PhD) Researcher/Developer ICCS/NTUA 9 Heroon Polytechneiou Str., Zografou 15773 Athens,Greece T (+30) 2107723404 M (+30) 6936935388 E vanag mail.ntua.gr<mailto:vanag mail.ntua.gr> www.ntua.gr< http://www.ntua.gr/>
Jun 30 2014