digitalmars.D.learn - Can we get a video tutorial?
- Stephen (14/14) Sep 01 2015 So I've been trying to install Dlang, VisualD, and Dub for the
- cym13 (2/5) Sep 01 2015 Are you on linux or windows or...? Please, give a bit of context.
- Stephen (4/10) Sep 01 2015 I (personally) am on Windows, umm, not sure what you want for
- Mike Parker (18/29) Sep 01 2015 There's no reason to install version 1.x of DMD, as it's no
- Stephen (13/14) Sep 03 2015 Ok, so, I am running Windows 10, I have installed VS 2015, I have
- wobbles (2/18) Sep 03 2015 So, can you show your projects dub.json?
- Stephen (12/14) Sep 03 2015 {
- Mike Parker (8/20) Sep 03 2015 DMD is not currently compatible with VS 2015. You'll have trouble
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. I finally asked a friend to help and he got me to my current point of maybe having a package working but I'm not sure because I'm getting an error. I searched the forums and found someone else with the same problem from 2 years ago, and the pictures are down so no luck there. So, as a complete noob/novice, I'm asking for someone to make a very simple, easy to follow, video tutorial for how to install the basics of D (DMD 1 and 2, VisualD (or an IDE of their choosing), Dub, and a graphics package/library to use with it). This will hopefully simplify the installation process for people a lot and have less people turn away and go learn a different language rather than waste a couple days just setting D up.
Sep 01 2015
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.
Sep 01 2015
On Tuesday, 1 September 2015 at 14:50:53 UTC, cym13 wrote:On Tuesday, 1 September 2015 at 14:48:55 UTC, Stephen wrote: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.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.
Sep 01 2015
On Tuesday, 1 September 2015 at 15:01:15 UTC, Stephen wrote:On Tuesday, 1 September 2015 at 14:50:53 UTC, cym13 wrote: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.On Tuesday, 1 September 2015 at 14:48:55 UTC, Stephen wrote: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.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.
Sep 01 2015
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.
Sep 03 2015
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:So, can you show your projects dub.json?* 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.
Sep 03 2015
On Thursday, 3 September 2015 at 19:41:55 UTC, wobbles wrote:{ "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" } }* What was previously said *So, can you show your project's dub.json?
Sep 03 2015
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: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 *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.Based on this error, it appears you've done this in your code: import MainWindow; When you should be doing this: import gtk.MainWindow;
Sep 03 2015
On Friday, 4 September 2015 at 05:51:02 UTC, Mike Parker wrote: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;* 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;
Sep 04 2015
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...?
Sep 10 2015