D - Installation and operation
- Harry (11/11) Jan 05 2003 I'm a newbie I mean a total newbie. I have read the book Accelerated C++...
- Walter (6/17) Jan 05 2003 boost)
- Harry (6/23) Jan 06 2003 Yes, I am. More interesting is , when I am just double clicking on an ex...
- Andrew Edwards (29/57) Jan 06 2003 Happy New Year to all!
- Harry (19/78) Jan 07 2003 Thanks in addvanced, I tryed following your instructions, I enterd the l...
- Andrew Edwards (16/34) Jan 08 2003 Have you tried compiling the program from the directory it's in? Change
- Harry (12/46) Jan 10 2003 I understand something is wrong over here, there most some misunderstand...
- Andrew Edwards (15/26) Jan 11 2003 Here's what you do Harry.
- Harry (18/44) Jan 11 2003 Thanks, so far so good.
- Harry (21/71) Jan 13 2003 Does this mean than all files have to be saved in the samples folder ? O...
- Andrew Edwards (7/81) Jan 13 2003 That was just to get you on the same page with me! You can save your fil...
I'm a newbie I mean a total newbie. I have read the book Accelerated C++, (according the advice of this group, very good book and even better advice, good boost) played around with Dev-C++ (exe. compiler going fine) trying to learn "D" . I downloaded the dmdalpha package, somehow I can't get things going. Operating on win2k , asuming C: the root directory. Keeping on getting error's, "can't find path , or can't read files ,or similer any help is appreciated in addvanced Harry
Jan 05 2003
"Harry" <Harry_member pathlink.com> wrote in message news:avaq51$2l0k$1 digitaldaemon.com...I'm a newbie I mean a total newbie. I have read the book Accelerated C++, (according the advice of this group, very good book and even better advice, goodboost)played around with Dev-C++ (exe. compiler going fine) trying to learn "D" . I downloaded the dmdalpha package, somehow I can't get things going. Operating on win2k , asuming C: the root directory. Keeping on gettingerror's,"can't find path , or can't read files ,or similer any help is appreciated inaddvancedHarryAre you running it from within a console window?
Jan 05 2003
In article <avb524$2sku$2 digitaldaemon.com>, Walter says..."Harry" <Harry_member pathlink.com> wrote in message news:avaq51$2l0k$1 digitaldaemon.com...Yes, I am. More interesting is , when I am just double clicking on an exe. it flashes which make me understand that it worked, and if it is a bigger app. I see it working of course I can't read it its a bit to fast, TIAI'm a newbie I mean a total newbie. I have read the book Accelerated C++, (according the advice of this group, very good book and even better advice, goodboost)played around with Dev-C++ (exe. compiler going fine) trying to learn "D" . I downloaded the dmdalpha package, somehow I can't get things going. Operating on win2k , asuming C: the root directory. Keeping on gettingerror's,"can't find path , or can't read files ,or similer any help is appreciated inaddvancedHarryAre you running it from within a console window?
Jan 06 2003
Happy New Year to all! Harry, DMD is not an IDE. You need to use a text editor such as UltraEdit or Notepad or a an actual IDE such as Microsoft Visual C++, Borland C++, or the one provided with the commercial version of Digital Mars C++ to compose your programs. After composing you'll save it with a .d extension and go to the command prompt where you will type dmd filename.d (replacing the filename with your actual filename). Before you do any of this though you need to properly configure the windows environment variables to locate the bin folders in both the dm and dmd directories. Assuming you have extracted the dmd files into the C:\ root directory, you now need to download the linker (aka Digital Mars C++) and extract it into the same directory. After this you need to right click on my computers and choose properties, select the Advanced tab and choose Environment Variables. Down where it says System variables, you need to double click on path. Go to the beginning of the block that says Variable value: (ensure you do not delete anything from this block) by pressing the Home key. Then type the following: c:\dmd\bin;c:\dm\bin; The original content of that block should right after that second semicolon. Now choose OK to close all properties windows. And vwalla, you are now ready to be productive in D. Regards, Andrew "Harry" <Harry_member pathlink.com> wrote in message news:avc6hl$eql$1 digitaldaemon.com...In article <avb524$2sku$2 digitaldaemon.com>, Walter says...C++,"Harry" <Harry_member pathlink.com> wrote in message news:avaq51$2l0k$1 digitaldaemon.com...I'm a newbie I mean a total newbie. I have read the book AccelerateditYes, I am. More interesting is , when I am just double clicking on an exe.(according the advice of this group, very good book and even better advice, goodboost)played around with Dev-C++ (exe. compiler going fine) trying to learn "D" . I downloaded the dmdalpha package, somehow I can't get things going. Operating on win2k , asuming C: the root directory. Keeping on gettingerror's,"can't find path , or can't read files ,or similer any help is appreciated inaddvancedHarryAre you running it from within a console window?flashes which make me understand that it worked, and if it is a bigger app. I seeitworking of course I can't read it its a bit to fast, TIA
Jan 06 2003
Thanks in addvanced, I tryed following your instructions, I enterd the line in the begining of the block without deleting the block. A few things works and a few don't. Basiclly the first thing what to do is to try to compile the sample code available " helle.d " and take from their, but if I can't compeile that I can't continue, that meens somthing is worng . I'd really appreciate somebody should help out. I'm more than half done with my book. When I finish I want to start all over again and side by side for every example from C++ to rewrite in "D" (mabe 1 day a book will be born "Jump Start to D " ) LOL ) Well only with your help.( Well just resent I started to play with PC from Mac the whole command line thing is a new thing for me but geting used to it Again TIA... In article <avc9ii$gno$1 digitaldaemon.com>, Andrew Edwards says...Happy New Year to all! Harry, DMD is not an IDE. You need to use a text editor such as UltraEdit or Notepad or a an actual IDE such as Microsoft Visual C++, Borland C++, or the one provided with the commercial version of Digital Mars C++ to compose your programs. After composing you'll save it with a .d extension and go to the command prompt where you will type dmd filename.d (replacing the filename with your actual filename). Before you do any of this though you need to properly configure the windows environment variables to locate the bin folders in both the dm and dmd directories. Assuming you have extracted the dmd files into the C:\ root directory, you now need to download the linker (aka Digital Mars C++) and extract it into the same directory. After this you need to right click on my computers and choose properties, select the Advanced tab and choose Environment Variables. Down where it says System variables, you need to double click on path. Go to the beginning of the block that says Variable value: (ensure you do not delete anything from this block) by pressing the Home key. Then type the following: c:\dmd\bin;c:\dm\bin; The original content of that block should right after that second semicolon. Now choose OK to close all properties windows. And vwalla, you are now ready to be productive in D. Regards, Andrew "Harry" <Harry_member pathlink.com> wrote in message news:avc6hl$eql$1 digitaldaemon.com...In article <avb524$2sku$2 digitaldaemon.com>, Walter says...C++,"Harry" <Harry_member pathlink.com> wrote in message news:avaq51$2l0k$1 digitaldaemon.com...I'm a newbie I mean a total newbie. I have read the book AccelerateditYes, I am. More interesting is , when I am just double clicking on an exe.(according the advice of this group, very good book and even better advice, goodboost)played around with Dev-C++ (exe. compiler going fine) trying to learn "D" . I downloaded the dmdalpha package, somehow I can't get things going. Operating on win2k , asuming C: the root directory. Keeping on gettingerror's,"can't find path , or can't read files ,or similer any help is appreciated inaddvancedHarryAre you running it from within a console window?flashes which make me understand that it worked, and if it is a bigger app. I seeitworking of course I can't read it its a bit to fast, TIA
Jan 07 2003
Have you tried compiling the program from the directory it's in? Change directory to c:\dmd\samples\d and type: dmd hello.d. This will compile the program. Then just type hello to execute. If this doesn't work, copy and submit the error message(s) that you receive. Good luck, Andrew "Harry" <Harry_member pathlink.com> wrote in message news:avghm2$2q21$1 digitaldaemon.com...Thanks in addvanced, I tryed following your instructions, I enterd theline inthe begining of the block without deleting the block. A few things works and a fewdon't.Basiclly the first thing what to do is to try to compile the sample code available "helle.d" and take from their, but if I can't compeile that I can't continue, that meenssomthingis worng . I'd really appreciate somebody should help out. I'm more than half done with my book. When I finish I want to start alloveragain and side by side for every example from C++ to rewrite in "D" (mabe 1 day a bookwill beborn "Jump Start to D " ) LOL ) Well only with your help.( Well just resent Istartedto play with PC from Mac the whole command line thing is a new thing for me but getingusedto it Again TIA...
Jan 08 2003
I understand something is wrong over here, there most some misunderstanding from my side . What makes me think so is because your path you gave me doesn't match the one I have. I have like this , C:\program Files\dmdalpha\dm+dmd now the dmd\bin+html+lib+samples+src. And the dm\bin+lib The second folder I downloaded is dm\bin+html+lib+stl+v831(witch is the C++ compiler) Thanks. Harry In article <avhbk0$6pj$1 digitaldaemon.com>, Andrew Edwards says...Have you tried compiling the program from the directory it's in? Change directory to c:\dmd\samples\d and type: dmd hello.d. This will compile the program. Then just type hello to execute. If this doesn't work, copy and submit the error message(s) that you receive. Good luck, Andrew "Harry" <Harry_member pathlink.com> wrote in message news:avghm2$2q21$1 digitaldaemon.com...Thanks in addvanced, I tryed following your instructions, I enterd theline inthe begining of the block without deleting the block. A few things works and a fewdon't.Basiclly the first thing what to do is to try to compile the sample code available "helle.d" and take from their, but if I can't compeile that I can't continue, that meenssomthingis worng . I'd really appreciate somebody should help out. I'm more than half done with my book. When I finish I want to start alloveragain and side by side for every example from C++ to rewrite in "D" (mabe 1 day a bookwill beborn "Jump Start to D " ) LOL ) Well only with your help.( Well just resent Istartedto play with PC from Mac the whole command line thing is a new thing for me but getingusedto it Again TIA...
Jan 10 2003
Here's what you do Harry. 1) Move dmd+dm from dmdalpha folder to your c:\ directory. (Do not worry about there already being a dm directory in c:\ because both are supposed to be togather. If you are asked if you want to overrite a file, chose yes.) 2) Delete the dmdalpha directory. 3) Go to the environment variables and modify the path to read: c:\dmd\bin;c:\dm\bin; followed by whatever was there before. 4) Change directory to c:\dmd\samples\d and type: dmd hello.d. After compilation is complete, type hello and the program will execute. Andrew "Harry" <Harry_member pathlink.com> wrote in message news:avn44i$ihp$1 digitaldaemon.com...I understand something is wrong over here, there most somemisunderstanding frommy side . What makes me think so is because your path you gave me doesn'tmatch theone I have. I have like this , C:\program Files\dmdalpha\dm+dmd now the dmd\bin+html+lib+samples+src. And the dm\bin+lib The second folder I downloaded is dm\bin+html+lib+stl+v831(witch is the C++ compiler) Thanks. Harry
Jan 11 2003
Thanks, so far so good. In article <avpg2i$1vcp$1 digitaldaemon.com>, Andrew Edwards says...Here's what you do Harry. 1) Move dmd+dm from dmdalphafolder to your c:\ directory. (Do not worryabout there already being a dmdirectory in c:\ because both are supposed tobe togather. If you are asked ifyou want to overrite a file, chose yes.)2) Delete the dmdalpha directory. 3)Go to the environment variables and modify the path to read:c:\dmd\bin;c:\dm\bin; followed by whatever was there before. 4) Changedirectory to c:\dmd\samples\d and type: dmdhello.d. After compilation iscomplete, type hello and the program willexecute. Andrew "Harry"<Harry_member pathlink.com> wrote in messagenews:avn44i$ihp$1 digitaldaemon.com...wrong over here, there most someI understand something ismisunderstanding frommakes me think so is because your path you gave me doesn'tmy side . Whatmatch theIonedmd\bin+html+lib+samples+src. And thehave. I have like this , C:\program Files\dmdalpha\dm+dmd now thedownloaded isdm\bin+lib The second folder IHarrydm\bin+html+lib+stl+v831(witch is the C++ compiler) Thanks.
Jan 11 2003
Does this mean than all files have to be saved in the samples folder ? Or how do I do it when I saved things in an other felder ? In article <avqnaj$2jjj$1 digitaldaemon.com>, Harry says...Thanks, so far so good. Inarticle <avpg2i$1vcp$1 digitaldaemon.com>, AndrewEdwards says...what you do Harry.Here'sdirectory. (Do not worry1) Move dmd+dm from dmdalphafolder to your c:\because both are supposed toabout there already being a dmdirectory in c:\overrite a file, chose yes.)be togather. If you are asked ifyou want toenvironment variables and modify the path to2) Delete the dmdalpha directory. 3)Go to theread:followed by whatever was there before.c:\dmd\bin;c:\dm\bin;c:\dmd\samples\d and type: dmd4) Changedirectory tohello and the program willhello.d. After compilation iscomplete, typeinexecute. Andrew "Harry"<Harry_member pathlink.com> wrotemessageisnews:avn44i$ihp$1 digitaldaemon.com...I understand somethingwrong over here, there most someWhatmisunderstanding frommy side .makes me think so is because your path you gave me doesn'tonematch theIthehave. I have like this , C:\program Files\dmdalpha\dm+dmd nowfolder Idmd\bin+html+lib+samples+src. And thedm\bin+lib The seconddownloaded iscompiler)dm\bin+html+lib+stl+v831(witch is the C++HarryThanks.
Jan 13 2003
That was just to get you on the same page with me! You can save your file anywhere, change directory to whereever you saved that file and type: dmd filename.d to compile and filename to execute. Andrew "Harry" <Harry_member pathlink.com> wrote in message news:avvm9a$5v7$1 digitaldaemon.com...Does this mean than all files have to be saved in the samples folder ? Orhow doI do it when I saved things in an other felder ? In article <avqnaj$2jjj$1 digitaldaemon.com>, Harry says...Thanks, so far so good. Inarticle <avpg2i$1vcp$1 digitaldaemon.com>, AndrewEdwards says...what you do Harry.Here'sdirectory. (Do not worry1) Move dmd+dm from dmdalphafolder to your c:\because both are supposed toabout there already being a dmdirectory in c:\overrite a file, chose yes.)be togather. If you are asked ifyou want toenvironment variables and modify the path to2) Delete the dmdalpha directory. 3)Go to theread:followed by whatever was there before.c:\dmd\bin;c:\dm\bin;c:\dmd\samples\d and type: dmd4) Changedirectory tohello and the program willhello.d. After compilation iscomplete, typeinexecute. Andrew "Harry"<Harry_member pathlink.com> wrotemessageisnews:avn44i$ihp$1 digitaldaemon.com...I understand somethingwrong over here, there most someWhatmisunderstanding frommy side .makes me think so is because your path you gave me doesn'tonematch theIthehave. I have like this , C:\program Files\dmdalpha\dm+dmd nowfolder Idmd\bin+html+lib+samples+src. And thedm\bin+lib The seconddownloaded iscompiler)dm\bin+html+lib+stl+v831(witch is the C++HarryThanks.
Jan 13 2003