Re: Using GtK

2021-08-25 Thread Ruby The Roobster via D.gnu
On Wednesday, 25 August 2021 at 01:41:53 UTC, Mike Parker wrote: On Wednesday, 25 August 2021 at 01:40:39 UTC, Mike Parker wrote: So the formatting got borked and my first paragraph ended up with the quoted text. In case it isn't clear: ` Yes, `run` is the default. But you are misunderstand

Re: Using GtK

2021-08-24 Thread Mike Parker via D.gnu
On Wednesday, 25 August 2021 at 01:40:39 UTC, Mike Parker wrote: So the formatting got borked and my first paragraph ended up with the quoted text. In case it isn't clear: ` Yes, `run` is the default. But you are misunderstanding how dub works. Neither `dub run` nor `dub build` accepts a so

Re: Using GtK

2021-08-24 Thread Mike Parker via D.gnu
On Tuesday, 24 August 2021 at 23:30:22 UTC, Ruby The Roobster wrote: I changed test.d to be the same code as in the HelloWorld.d(https://github.com/gtkd-developers/GtkD/blob/master/demos/gtk/HelloWorld.d)example that is provided by the GtkD github. Adding the comment to the top of the file and

Re: Using GtK

2021-08-24 Thread Ruby The Roobster via D.gnu
On Tuesday, 24 August 2021 at 22:21:44 UTC, Mike Parker wrote: On Tuesday, 24 August 2021 at 19:07:11 UTC, Ruby The Roobster wrote: Doing this, works though: dub add gtkd-3@3.9.0 then dub fetch gtkd-3@3.9.0 then dub test.d Will cause the program to run and execute. However, it doesn't save

Re: Using GtK

2021-08-24 Thread Mike Parker via D.gnu
On Tuesday, 24 August 2021 at 19:07:11 UTC, Ruby The Roobster wrote: Doing this, works though: dub add gtkd-3@3.9.0 then dub fetch gtkd-3@3.9.0 then dub test.d Will cause the program to run and execute. However, it doesn't save an executable to disk, which is what I want. Is there a way,

Re: Using GtK

2021-08-24 Thread Ruby The Roobster via D.gnu
On Tuesday, 24 August 2021 at 08:08:05 UTC, Iain Buclaw wrote: On Monday, 23 August 2021 at 20:21:13 UTC, Ruby The Roobster wrote: gdc -I/usr/include/gtkd-3 -L-ldl -L-libgtkd-3 test.d You're using command-line arguments as if you are compiling with dmd. On gcc `-L-libgtkd-3` means "add _di

Re: Using GtK

2021-08-24 Thread Iain Buclaw via D.gnu
On Monday, 23 August 2021 at 20:21:13 UTC, Ruby The Roobster wrote: gdc -I/usr/include/gtkd-3 -L-ldl -L-libgtkd-3 test.d You're using command-line arguments as if you are compiling with dmd. On gcc `-L-libgtkd-3` means "add _directory_ ./-libgtkd-3 to the list of directories to be searched

Re: Using GtK

2021-08-23 Thread Ferhat Kurtulmuş via D.gnu
On Monday, 23 August 2021 at 20:21:13 UTC, Ruby The Roobster wrote: I have a very basic program that does ABSOLUTELY NOTHING. Here is the code: ```d import gtk.Main; import gtk.MainWindow; import gtk.Widget; void main() { } ``` I am using gdc version 10.3.0 on Ubuntu 20.04. Assuming the fil

Using GtK

2021-08-23 Thread Ruby The Roobster via D.gnu
I have a very basic program that does ABSOLUTELY NOTHING. Here is the code: ```d import gtk.Main; import gtk.MainWindow; import gtk.Widget; void main() { } ``` I am using gdc version 10.3.0 on Ubuntu 20.04. Assuming the file name is test.d, here is my command line: gdc -I/usr/include/gtkd-