www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Can we get a video tutorial?

reply "Stephen" <free4life007 hotmail.com> writes:
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
parent reply "cym13" <cpicard openmailbox.org> writes:
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
parent reply "Stephen" <free4life007 hotmail.com> writes:
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.
Sep 01 2015
parent reply "Mike Parker" <aldacron gmail.com> writes:
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.
Sep 01 2015
parent reply "Stephen" <free4life007 hotmail.com> writes:
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
next sibling parent reply "wobbles" <grogan.colin gmail.com> writes:
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?
Sep 03 2015
parent "Stephen" <free4life007 hotmail.com> writes:
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" } }
Sep 03 2015
prev sibling parent reply "Mike Parker" <aldacron gmail.com> writes:
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;
Sep 03 2015
parent reply "Stephen" <free4life007 hotmail.com> writes:
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;
Sep 04 2015
parent "Stephen" <free4life007 hotmail.com> writes:
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