Thread overview
Building GUI projects with D
Oct 20, 2018
karis njiru
Oct 20, 2018
ezneh
Oct 21, 2018
Jacob Carlborg
Oct 22, 2018
dangbinghoo
Nov 02, 2018
aberba
October 20, 2018
Hi. Am a computer science student from Kenya and decided to use D for my class project on Principles of Programming Languages. Am having a lot of fun with D but have come across an issue. I have been using Visual D for the past 2 months for my coding but after a lot of research i found out that i cannot build GUI projects with visual D. So i took on Entice Designer which for the past week has been a nightmare for me to compile my code error being the system cannot find the path in the command prompt specified. I have installed DMD and DFL lots of times but there is still the same issue. Please help
October 20, 2018
On Saturday, 20 October 2018 at 15:40:07 UTC, karis njiru wrote:
> Hi. Am a computer science student from Kenya and decided to use D for my class project on Principles of Programming Languages. Am having a lot of fun with D but have come across an issue. I have been using Visual D for the past 2 months for my coding but after a lot of research i found out that i cannot build GUI projects with visual D. So i took on Entice Designer which for the past week has been a nightmare for me to compile my code error being the system cannot find the path in the command prompt specified. I have installed DMD and DFL lots of times but there is still the same issue. Please help

DFL is quite old and unmaintained since a long time too. So it's not surprising you have lots of errors when you try to build it with recent compilers.

However, there are other GUI projects available for D, as you can see here [1]
In this list you can try few of them, but keep in mind some might still have similar problems (DFL is still listed on this list).

Maybe you can give a try to dlangui[2]


[1] https://wiki.dlang.org/GUI_Libraries
[2] https://github.com/buggins/dlangui
October 21, 2018
On 2018-10-20 17:40, karis njiru wrote:
> Hi. Am a computer science student from Kenya and decided to use D for my
> class project on Principles of Programming Languages. Am having a lot of
> fun with D but have come across an issue. I have been using Visual D for
> the past 2 months for my coding but after a lot of research i found out
> that i cannot build GUI projects with visual D. So i took on Entice
> Designer which for the past week has been a nightmare for me to compile
> my code error being the system cannot find the path in the command
> prompt specified. I have installed DMD and DFL lots of times but there
> is still the same issue. Please help

Give DWT [1] a try. It's a port of the Eclipse SWT library from Java to D. It's completely written in D and uses the native drawing operations of the OS giving the applications a native look and feel.

[1] http://github.com/d-widget-toolkit/dwt

-- 
/Jacob Carlborg
October 22, 2018
On Saturday, 20 October 2018 at 15:40:07 UTC, karis njiru wrote:
> Hi. Am a computer science student from Kenya and decided to use D for my class project on Principles of Programming Languages. Am having a lot of fun with D but have come across an issue. I have been using Visual D for the past 2 months for my coding but after a lot of research i found out that i cannot build GUI projects with visual D. So i took on Entice Designer which for the past week has been a nightmare for me to compile my code error being the system cannot find the path in the command prompt specified. I have installed DMD and DFL lots of times but there is still the same issue. Please help

try GtkD or dlangui(UTF8 support is not complete, font rendering is a little bad.) or tkd
November 02, 2018
On Saturday, 20 October 2018 at 15:40:07 UTC, karis njiru wrote:
> Hi. Am a computer science student from Kenya and decided to use D for my class project on Principles of Programming Languages. Am having a lot of fun with D but have come across an issue. I have been using Visual D for the past 2 months for my coding but after a lot of research i found out that i cannot build GUI projects with visual D. So i took on Entice Designer which for the past week has been a nightmare for me to compile my code error being the system cannot find the path in the command prompt specified. I have installed DMD and DFL lots of times but there is still the same issue. Please help

Hi, Nice meeting you. I assume your on Window.


There

1. DlangUI which is the easiest (for beginners) in my experience: https://github.com/buggins/dlangui

2. QT (great documentation): https://forum.dlang.org/thread/leviwswvvcnqberafxsp@forum.dlang.org#post-nk9alu:241tvq:241:40digitalmars.com

3. GTK-d would be what you'll use if on Linux:
https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows



By the way, I'm from Ghana. Its good to know someone in Kenya is interested in D. You may hit me by email karabutaworld@gmail.com (Github: https://github.com/aberba)