Re: Can we get a video tutorial?
On Friday, 4 September 2015 at 16:11:59 UTC, Stephen wrote: On Friday, 4 September 2015 at 05:51:02 UTC, Mike Parker wrote: * What was previously said * * Bump * Hopefully I'm allowed to bump this...?
Re: Can we get a video tutorial?
On Friday, 4 September 2015 at 05:51:02 UTC, Mike Parker wrote: * What was previously said * DMD is not currently compatible with VS 2015. You'll have trouble if you try to use it. That will hopefully be fixed in a not-too-distant release. * What was previously said * Based on this error, it appears you've done this in your code: import MainWindow; When you should be doing this: import gtk.MainWindow; Thanks for telling me it doesn't work too well with VS 2015 And here's what I am importing import gtk.MainWindow; import gtk.Label; import gtk.Main;
Re: Can we get a video tutorial?
On Wednesday, 2 September 2015 at 01:15:28 UTC, Mike Parker wrote: * What was previously said * Ok, so, I am running Windows 10, I have installed VS 2015, I have installed DMD 1 and 2 (I know I only need 2 but it shouldn't hurt to have both), I have installed VisualD, and I have installed DUB with it's installer. (All of these installed successfully and work) So, I'm trying to install gtkD but get "Error: module MainWindow is in file 'gtk/MainWindow.d' which cannot be read" when I try to run the program. No idea what this means, how to fix it, or what step I missed. What I'd like is for someone to either make a tut of how to get from no Dlang on their computer to having a package working in a program, or for someone to help me and I'll try to make one later.
Re: Can we get a video tutorial?
On Thursday, 3 September 2015 at 19:13:35 UTC, Stephen wrote: On Wednesday, 2 September 2015 at 01:15:28 UTC, Mike Parker wrote: * What was previously said * Ok, so, I am running Windows 10, I have installed VS 2015, I have installed DMD 1 and 2 (I know I only need 2 but it shouldn't hurt to have both), I have installed VisualD, and I have installed DUB with it's installer. (All of these installed successfully and work) So, I'm trying to install gtkD but get "Error: module MainWindow is in file 'gtk/MainWindow.d' which cannot be read" when I try to run the program. No idea what this means, how to fix it, or what step I missed. What I'd like is for someone to either make a tut of how to get from no Dlang on their computer to having a package working in a program, or for someone to help me and I'll try to make one later. So, can you show your projects dub.json?
Re: Can we get a video tutorial?
On Thursday, 3 September 2015 at 19:41:55 UTC, wobbles wrote: * What was previously said * So, can you show your project's dub.json? { "name": "test graphics and math", "description": "A minimal D application.", "copyright": "Copyright © 2015, Stephen", "authors": ["Stephen"], "dependencies": { "gfm": "~>3.0.2", "gtk-d": "~>3.1.4", "gtk-d:gtkd": "~master" } }
Re: Can we get a video tutorial?
On Thursday, 3 September 2015 at 19:13:35 UTC, Stephen wrote: On Wednesday, 2 September 2015 at 01:15:28 UTC, Mike Parker wrote: * What was previously said * Ok, so, I am running Windows 10, I have installed VS 2015, I have installed DMD 1 and 2 (I know I only need 2 but it shouldn't hurt to have both), I have installed VisualD, and I have installed DUB with it's installer. (All of these installed successfully and work) DMD is not currently compatible with VS 2015. You'll have trouble if you try to use it. That will hopefully be fixed in a not-too-distant release. So, I'm trying to install gtkD but get "Error: module MainWindow is in file 'gtk/MainWindow.d' which cannot be read" when I try to run the program. No idea what this means, how to fix it, or what step I missed. Based on this error, it appears you've done this in your code: import MainWindow; When you should be doing this: import gtk.MainWindow;
Re: Can we get a video tutorial?
On Tuesday, 1 September 2015 at 15:01:15 UTC, Stephen wrote: On Tuesday, 1 September 2015 at 14:50:53 UTC, cym13 wrote: On Tuesday, 1 September 2015 at 14:48:55 UTC, Stephen wrote: So I've been trying to install Dlang, VisualD, and Dub for the past day with little luck. I have DMD 1 and 2, and VisualD installed, but I can't get Dub working. Are you on linux or windows or...? Please, give a bit of context. I (personally) am on Windows, umm, not sure what you want for context. When I run my program, it gives an error that something I'm importing .d can't be read. There's no reason to install version 1.x of DMD, as it's no longer officially supported. D2 is all you need. Here's what you should do: 1) Download and install Visual Studio 2013 Community Edition, but only if you want to install VisualD or compile 64-bit programs. You could alternatively install the Visual Studio Shell to use VisualD, but the CE gives you every thing you need to compile 64-bit programs with DMD. 2) Download the DMD installer and run it. Allow it to set the path. Do not select D1 when given the option, jut D2 and (optionally) VisualD. 3) Download and run the DUB installer. That's it. There's nothing else you need to do. It would be much more helpful to those trying to help you if you could show exactly what error you're getting. It may very well have nothing to do with how you installed the programs, but with how you configured your project.
Re: Can we get a video tutorial?
On Tuesday, 1 September 2015 at 14:48:55 UTC, Stephen wrote: So I've been trying to install Dlang, VisualD, and Dub for the past day with little luck. I have DMD 1 and 2, and VisualD installed, but I can't get Dub working. Are you on linux or windows or...? Please, give a bit of context.
Re: Can we get a video tutorial?
On Tuesday, 1 September 2015 at 14:50:53 UTC, cym13 wrote: On Tuesday, 1 September 2015 at 14:48:55 UTC, Stephen wrote: So I've been trying to install Dlang, VisualD, and Dub for the past day with little luck. I have DMD 1 and 2, and VisualD installed, but I can't get Dub working. Are you on linux or windows or...? Please, give a bit of context. I (personally) am on Windows, umm, not sure what you want for context. When I run my program, it gives an error that something I'm importing .d can't be read.