Re: GtkD Blog Now Up and Running

2019-02-06 Thread Ron Tarrant via Digitalmars-d-announce
On Wednesday, 6 February 2019 at 16:53:49 UTC, Ron Tarrant wrote: On Saturday, 2 February 2019 at 17:01:28 UTC, Ron Tarrant wrote: I ran some more tests with dub and successfully compiled/ran some of my GtkD example code. (Yay!) At some point, I guess I'd better write this up and post it.

Re: GtkD Blog Now Up and Running

2019-02-06 Thread Ron Tarrant via Digitalmars-d-announce
On Saturday, 2 February 2019 at 17:01:28 UTC, Ron Tarrant wrote: It's one of the reasons I'm sticking with dmd for now. This morning, after creating the file: C:\ProgramData\dub\settings.json with contents: { "defaultArchitecture": "x86_64", "defaultCompiler": "ldc"

Re: GtkD Blog Now Up and Running

2019-02-02 Thread Ron Tarrant via Digitalmars-d-announce
On Friday, 1 February 2019 at 07:43:23 UTC, Petar Kirov [ZombineDev] wrote: But no one should ever need to modify their dmd installation, in order to use gtkd. Too true. It's one of the reasons I'm sticking with dmd for now. I followed a simple set of instructions to get an environment set

Re: GtkD Blog Now Up and Running

2019-02-01 Thread Kagamin via Digitalmars-d-announce
On Friday, 1 February 2019 at 07:43:23 UTC, Petar Kirov [ZombineDev] wrote: So, assuming you have the MSVC C++ toolchain installed, just build with dub by specifying either the --arch=x86_mscoff or --arch=x86_64 flags. But no one should ever need to modify their dmd installation, in order to

Re: GtkD Blog Now Up and Running

2019-01-31 Thread Petar via Digitalmars-d-announce
On Thursday, 31 January 2019 at 20:33:43 UTC, Ron Tarrant wrote: On Wednesday, 30 January 2019 at 21:21:24 UTC, Mike Wey wrote: This is whats going on: https://issues.dlang.org/show_bug.cgi?id=15418 To work around this you can either build things with "--arch=x86mscoff" or tell dub not to

Re: GtkD Blog Now Up and Running

2019-01-31 Thread Mike Wey via Digitalmars-d-announce
On 31-01-2019 21:33, Ron Tarrant wrote: On Wednesday, 30 January 2019 at 21:21:24 UTC, Mike Wey wrote: This is whats going on: https://issues.dlang.org/show_bug.cgi?id=15418 To work around this you can either build things with "--arch=x86mscoff" or tell dub not to build the debug version

Re: GtkD Blog Now Up and Running

2019-01-31 Thread Ron Tarrant via Digitalmars-d-announce
On Wednesday, 30 January 2019 at 21:21:24 UTC, Mike Wey wrote: This is whats going on: https://issues.dlang.org/show_bug.cgi?id=15418 To work around this you can either build things with "--arch=x86mscoff" or tell dub not to build the debug version with "--build=plain". Ah! Thanks, Mike.

Re: GtkD Blog Now Up and Running

2019-01-31 Thread Ron Tarrant via Digitalmars-d-announce
On Wednesday, 30 January 2019 at 21:53:27 UTC, sanjayss wrote: Some simple screenshots would be nice to see I thought about it, but then realized that even though it would add visual appeal, readers might be more inclined to actually follow along at home if the only visual they get is the

Re: GtkD Blog Now Up and Running

2019-01-31 Thread Ron Tarrant via Digitalmars-d-announce
On Wednesday, 30 January 2019 at 20:07:15 UTC, Jacob Carlborg wrote: It's Optlink being stupid as always. If you want to figure out what's wrong you can invoke Dub with the "--verbose" flag to have it print the commands it's running, i.e. how it's invoking the compiler and the linker. You

Re: GtkD Blog Now Up and Running

2019-01-30 Thread sanjayss via Digitalmars-d-announce
On Friday, 25 January 2019 at 21:16:59 UTC, Ron Tarrant wrote: Hi y'all, As of January 11, 2019, http://gtkdcoding.com is up. It's a blog, it's a github page, it's simple examples of how to use GtkD for all that GUI stuff. My approach is to lay out a firm foundation for both imperative and

Re: GtkD Blog Now Up and Running

2019-01-30 Thread Mike Wey via Digitalmars-d-announce
On 30-01-2019 21:07, Jacob Carlborg wrote: On 2019-01-30 11:35, Ron Tarrant wrote: You said you're on OSX, right? Is it possible that dub just isn't as cooperative on Windows 10? Of course, if you can see something in this output that hints at a fix, please let me know. It's Optlink being

Re: GtkD Blog Now Up and Running

2019-01-30 Thread Jacob Carlborg via Digitalmars-d-announce
On 2019-01-30 11:35, Ron Tarrant wrote: You said you're on OSX, right? Is it possible that dub just isn't as cooperative on Windows 10? Of course, if you can see something in this output that hints at a fix, please let me know. It's Optlink being stupid as always. If you want to figure out

Re: GtkD Blog Now Up and Running

2019-01-30 Thread Jacob Carlborg via Digitalmars-d-announce
On 2019-01-30 03:00, Neia Neutuladh wrote: Might I recommend instead: dependency "gtk-d" version="3.8.5" This depends on gtk-d 3.8.5 and only that version. If there is a breaking change in 3.8.6 despite semantic versioning, your code keeps working. In libraries, I prefer using ~> to

Re: GtkD Blog Now Up and Running

2019-01-30 Thread Antonio Corbi via Digitalmars-d-announce
On Wednesday, 30 January 2019 at 09:48:14 UTC, Ron Tarrant wrote: On Saturday, 26 January 2019 at 16:53:18 UTC, Antonio Corbi wrote: [1] https://sites.google.com/site/gtkdtutorial/ [2] http://britseyeview.com/software/articles/gsgtkd.html [3] https://gitlab.com/csoriano/GtkDApp Took a look

Re: GtkD Blog Now Up and Running

2019-01-30 Thread Ron Tarrant via Digitalmars-d-announce
On Tuesday, 29 January 2019 at 23:09:57 UTC, Christian Köstlin wrote: I was surprised how simple it is nowadays even in osx. Okay, there's definitely something odd going on with my set up. I followed your directions to the letter and OPTLINK barfed. Here is the output from my first try to

Re: GtkD Blog Now Up and Running

2019-01-30 Thread Ron Tarrant via Digitalmars-d-announce
On Saturday, 26 January 2019 at 16:53:18 UTC, Antonio Corbi wrote: [1] https://sites.google.com/site/gtkdtutorial/ [2] http://britseyeview.com/software/articles/gsgtkd.html [3] https://gitlab.com/csoriano/GtkDApp Took a look this morning. I'd come across the Brit's Eye View articles, but not

Re: GtkD Blog Now Up and Running

2019-01-29 Thread Neia Neutuladh via Digitalmars-d-announce
On Tue, 29 Jan 2019 21:13:17 +, WebFreak001 wrote: > dub.sdl: > name "my-awesome-gtk-app" > > dependency "gtk-d" version="~>3.8.5" Might I recommend instead: dependency "gtk-d" version="3.8.5" This depends on gtk-d 3.8.5 and only that version. If there is a breaking change in 3.8.6

Re: GtkD Blog Now Up and Running

2019-01-29 Thread Christian Köstlin via Digitalmars-d-announce
On 29.01.19 22:47, Ron Tarrant wrote: On Tuesday, 29 January 2019 at 21:13:17 UTC, WebFreak001 wrote: hey it's easy, you can also use SDL! :p dub.sdl: name "my-awesome-gtk-app" dependency "gtk-d" version="~>3.8.5" ... and that's it already actually. It will compile everything in the

Re: GtkD Blog Now Up and Running

2019-01-29 Thread Johannes Loher via Digitalmars-d-announce
Am 29.01.19 um 22:47 schrieb Ron Tarrant: > And this goes in the same folder as the code file. And then... what? I > type: dub? The code file should be in a subfolder called "source". This is customizable, but this is the default. So the folder structure should look something like this: ├──

Re: GtkD Blog Now Up and Running

2019-01-29 Thread WebFreak001 via Digitalmars-d-announce
On Tuesday, 29 January 2019 at 21:47:06 UTC, Ron Tarrant wrote: On Tuesday, 29 January 2019 at 21:13:17 UTC, WebFreak001 wrote: hey it's easy, you can also use SDL! :p dub.sdl: name "my-awesome-gtk-app" dependency "gtk-d" version="~>3.8.5" ... and that's it already actually. It will

Re: GtkD Blog Now Up and Running

2019-01-29 Thread Jordan Wilson via Digitalmars-d-announce
On Tuesday, 29 January 2019 at 20:58:08 UTC, Ron Tarrant wrote: Thanks for all the kind words, guys. Yeah, dub is a sticking point for me and I'm gonna have to get past it. I just have so much on my plate ATM that I don't wanna take the time to dig into it again for fear of falling behind on

Re: GtkD Blog Now Up and Running

2019-01-29 Thread Ron Tarrant via Digitalmars-d-announce
On Tuesday, 29 January 2019 at 21:13:17 UTC, WebFreak001 wrote: hey it's easy, you can also use SDL! :p dub.sdl: name "my-awesome-gtk-app" dependency "gtk-d" version="~>3.8.5" ... and that's it already actually. It will compile everything in the "source" folder and add the dependencies

Re: GtkD Blog Now Up and Running

2019-01-29 Thread Ron Tarrant via Digitalmars-d-announce
On Saturday, 26 January 2019 at 16:53:18 UTC, Antonio Corbi wrote: On Friday, 25 January 2019 at 21:16:59 UTC, Ron Tarrant wrote: When I started using Gtkd I gathered several tutorials[1][2] (they are old) and more recently found this project[3] from Carlos Soriano which covers meson +

Re: GtkD Blog Now Up and Running

2019-01-29 Thread WebFreak001 via Digitalmars-d-announce
On Tuesday, 29 January 2019 at 20:53:53 UTC, Ron Tarrant wrote: On Friday, 25 January 2019 at 22:17:06 UTC, WebFreak001 wrote: I think dub is a lot more beginner friendly and easier to setup + users will probably want to add some dependencies in the future of their app. LOL! Not my

Re: GtkD Blog Now Up and Running

2019-01-29 Thread Ron Tarrant via Digitalmars-d-announce
Thanks for all the kind words, guys. Yeah, dub is a sticking point for me and I'm gonna have to get past it. I just have so much on my plate ATM that I don't wanna take the time to dig into it again for fear of falling behind on something else. But I will get to it at some point.

Re: GtkD Blog Now Up and Running

2019-01-29 Thread Ron Tarrant via Digitalmars-d-announce
On Friday, 25 January 2019 at 22:17:06 UTC, WebFreak001 wrote: I think dub is a lot more beginner friendly and easier to setup + users will probably want to add some dependencies in the future of their app. LOL! Not my experience with dub, but I take your point. I haven't actually gone back

Re: GtkD Blog Now Up and Running

2019-01-29 Thread Kagamin via Digitalmars-d-announce
On Friday, 25 January 2019 at 21:16:59 UTC, Ron Tarrant wrote: My approach is to lay out a firm foundation for both imperative and object-oriented paradigms, then build from there, taking things one step at a time. By OOP you mean user controls? Hmm... I'd say, user control is an advanced

Re: GtkD Blog Now Up and Running

2019-01-26 Thread dangbinghoo via Digitalmars-d-announce
On Friday, 25 January 2019 at 21:19:45 UTC, Ron Tarrant wrote: PS: And let me know if you find any inaccuracies or if something isn't clear. Great Job! ^_^ and for dub type of project, just add `gtk-d` as a dependency, it works well both on windows and linux right out of box, the only thing

Re: GtkD Blog Now Up and Running

2019-01-26 Thread Antonio Corbi via Digitalmars-d-announce
On Friday, 25 January 2019 at 21:16:59 UTC, Ron Tarrant wrote: Hi y'all, As of January 11, 2019, http://gtkdcoding.com is up. It's a blog, it's a github page, it's simple examples of how to use GtkD for all that GUI stuff. My approach is to lay out a firm foundation for both imperative and

Re: GtkD Blog Now Up and Running

2019-01-26 Thread Andre Pany via Digitalmars-d-announce
On Saturday, 26 January 2019 at 09:32:53 UTC, Andre Pany wrote: On Friday, 25 January 2019 at 21:16:59 UTC, Ron Tarrant wrote: Hi y'all, As of January 11, 2019, http://gtkdcoding.com is up. It's a blog, it's a github page, it's simple examples of how to use GtkD for all that GUI stuff. My

Re: GtkD Blog Now Up and Running

2019-01-26 Thread Andre Pany via Digitalmars-d-announce
On Friday, 25 January 2019 at 21:16:59 UTC, Ron Tarrant wrote: Hi y'all, As of January 11, 2019, http://gtkdcoding.com is up. It's a blog, it's a github page, it's simple examples of how to use GtkD for all that GUI stuff. My approach is to lay out a firm foundation for both imperative and

Re: GtkD Blog Now Up and Running

2019-01-25 Thread Brian via Digitalmars-d-announce
Thank you :)

Re: GtkD Blog Now Up and Running

2019-01-25 Thread WebFreak001 via Digitalmars-d-announce
On Friday, 25 January 2019 at 21:16:59 UTC, Ron Tarrant wrote: Hi y'all, As of January 11, 2019, http://gtkdcoding.com is up. It's a blog, it's a github page, it's simple examples of how to use GtkD for all that GUI stuff. My approach is to lay out a firm foundation for both imperative and

GtkD Blog Now Up and Running

2019-01-25 Thread Ron Tarrant via Digitalmars-d-announce
Hi y'all, As of January 11, 2019, http://gtkdcoding.com is up. It's a blog, it's a github page, it's simple examples of how to use GtkD for all that GUI stuff. My approach is to lay out a firm foundation for both imperative and object-oriented paradigms, then build from there, taking

Re: GtkD Blog Now Up and Running

2019-01-25 Thread Ron Tarrant via Digitalmars-d-announce
PS: And let me know if you find any inaccuracies or if something isn't clear.