Thread overview | ||||||
---|---|---|---|---|---|---|
|
May 19, 2011 (Windows) beginner woes.... | ||||
---|---|---|---|---|
| ||||
1]. ok, I unzipped dmd.zip and dm.zip. what's this dm.zip for? 2]. I install Visual D, I had to point it to the DMD folder. And it did compile my 1st D program fine... doubly wondering what's dm for? 3]. I try installed DFL. Actuall it unzipped in the worng forlder, so I moved whateve in unpacked i the right folder. Made a form with entice designer, copied the code in Visual D (i.e. Visual studio with support for D) and tried to compile. It complain that "all.d" is missing. Why does it need a source file? I though the .lib file contained all necessary info and gone were the headers file! + how can I fix that? To summarize I'm quite confused by the directory structure, where do I install .lib file, why do I need an import directory Also, lastly, how do I compile 32bit or 64bits? I want to target 32 bits for sure! (even though I'm on a 64 bits machine!) |
May 19, 2011 Re: (Windows) beginner woes.... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lloyd Dupont | On 5/19/2011 9:43 PM, Lloyd Dupont wrote: > 1]. ok, I unzipped dmd.zip and dm.zip. what's this dm.zip for? > > 2]. I install Visual D, I had to point it to the DMD folder. And it did > compile my 1st D program fine... doubly wondering what's dm for? > > 3]. I try installed DFL. Actuall it unzipped in the worng forlder, so I > moved whateve in unpacked i the right folder. Made a form with entice > designer, copied the code in Visual D (i.e. Visual studio with support > for D) and tried to compile. It complain that "all.d" is missing. Why > does it need a source file? I though the .lib file contained all > necessary info and gone were the headers file! > + how can I fix that? > > > To summarize I'm quite confused by the directory structure, where do I > install .lib file, why do I need an import directory > > > > Also, lastly, how do I compile 32bit or 64bits? I want to target 32 bits > for sure! (even though I'm on a 64 bits machine!) Currently, I am using Eclipse and DDT According to Mafi. Under Re: Making D Lang More easy. (d.D forum) For Eclipse there is for example DDT and there are VisualD and Descent. http://code.google.com/a/eclipselabs.org/p/ddt/ Version: Helios Service Release 2 Build id: 20110218-0911 That solve most of my path issue. -od"bin" -of"bin\TestD.exe" -I"src" // where all my source file are located. "src\cc\Lang\EMPTY.d" "src\cc\Lang\all.d" "src\main.d" -- Matthew Ong email: ongbp@yahoo.com |
May 19, 2011 Re: (Windows) beginner woes.... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lloyd Dupont | Lloyd Dupont Wrote: > 1]. ok, I unzipped dmd.zip and dm.zip. what's this dm.zip for? You shouldn't need dm.zip anymore. It used to be contain Digital Mars programs for dmd, Optlink I believe. But they are inculded in the dmd.zip now. > It complain that "all.d" is missing. Why does it > need a source file? I though the .lib file contained all necessary info and > gone were the headers file! > + how can I fix that? No. The .lib file is justly like every other .lib. Header files are gone, you just use the source files (no need for separation of declaration and implementation). But the contents of the lib must be known at compile time and that is provided either by a .d file or a .di file. > To summarize I'm quite confused by the directory structure, where do I install .lib file, why do I need an import directory .lib goes in a location that the linker can find, the include directory is source files for the compiler to know what symbols your program will be using. > Also, lastly, how do I compile 32bit or 64bits? I want to target 32 bits for sure! (even though I'm on a 64 bits machine!) No 64bit for windows yet. |
May 20, 2011 Re: (Windows) beginner woes.... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jesse Phillips | Thanks Jesse! Before I was in the dark! :( Now I'm in.. errr... dawn! Simple questions and answers but it has clarified important stumbling starting block for me! :) "Jesse Phillips" wrote in message news:ir3imc$rhs$1@digitalmars.com... Lloyd Dupont Wrote: > 1]. ok, I unzipped dmd.zip and dm.zip. what's this dm.zip for? You shouldn't need dm.zip anymore. It used to be contain Digital Mars programs for dmd, Optlink I believe. But they are inculded in the dmd.zip now. > It complain that "all.d" is missing. Why does it > need a source file? I though the .lib file contained all necessary info and > gone were the headers file! > + how can I fix that? No. The .lib file is justly like every other .lib. Header files are gone, you just use the source files (no need for separation of declaration and implementation). But the contents of the lib must be known at compile time and that is provided either by a .d file or a .di file. > To summarize I'm quite confused by the directory structure, where do I > install .lib file, why do I need an import directory .lib goes in a location that the linker can find, the include directory is source files for the compiler to know what symbols your program will be using. > Also, lastly, how do I compile 32bit or 64bits? I want to target 32 bits for > sure! (even though I'm on a 64 bits machine!) No 64bit for windows yet. |
Copyright © 1999-2021 by the D Language Foundation