Jump to page: 1 2
Thread overview
Precompiled binaries of DWT for windows?
Jun 26, 2014
pgtkda
Jun 26, 2014
Jacob Carlborg
Jun 27, 2014
pgtkda
Jun 27, 2014
Jacob Carlborg
Jun 27, 2014
pgtkda
Jun 27, 2014
Jacob Carlborg
Jul 01, 2014
pgtkda
Jul 01, 2014
pgtkda
Jul 01, 2014
Jacob Carlborg
Jul 01, 2014
pgtkda
Jul 06, 2014
Jacob Carlborg
Jul 01, 2014
Jacob Carlborg
June 26, 2014
Are there any precompiled binaries for windows?
June 26, 2014
On 2014-06-26 10:19, pgtkda wrote:
> Are there any precompiled binaries for windows?

Unfortunately no, there are no pre-compiled binaries. But it's very easy to build yourself, just follow the build instructions [1].

[1] https://github.com/d-widget-toolkit/dwt#building-1

-- 
/Jacob Carlborg
June 27, 2014
On Thursday, 26 June 2014 at 20:57:44 UTC, Jacob Carlborg wrote:
> On 2014-06-26 10:19, pgtkda wrote:
>> Are there any precompiled binaries for windows?
>
> Unfortunately no, there are no pre-compiled binaries. But it's very easy to build yourself, just follow the build instructions [1].
>
> [1] https://github.com/d-widget-toolkit/dwt#building-1

Not so easy for me. Where do i have to type this?

$ git clone --recursive git://github.com/d-widget-toolkit/dwt.git
June 27, 2014
On 2014-06-27 09:51, pgtkda wrote:

> Not so easy for me. Where do i have to type this?
>
> $ git clone --recursive git://github.com/d-widget-toolkit/dwt.git

In a terminal/cmd (btw, you don't type $, that just an indication it should be typed in a terminal). Of course, this requires you to have "git" installed. Which I would recommend if you're doing any development with D.

Alternatively you can download a zip of the sources:

1. Download the DWT sources [1]
2. Extract the zip file
3. Download the DWT Win32 sources [2]
4. Extract the Win32 zip file into "dwt\org.eclipse.swt.win32.win32.x86", where "dwt" is the path you extracted the DWT source code to

[1] https://github.com/d-widget-toolkit/dwt/archive/master.zip
[2] https://github.com/d-widget-toolkit/org.eclipse.swt.win32.win32.x86/archive/master.zip

-- 
/Jacob Carlborg
June 27, 2014
On Friday, 27 June 2014 at 07:59:51 UTC, Jacob Carlborg wrote:
> On 2014-06-27 09:51, pgtkda wrote:
>
>> Not so easy for me. Where do i have to type this?
>>
>> $ git clone --recursive git://github.com/d-widget-toolkit/dwt.git
>
> In a terminal/cmd (btw, you don't type $, that just an indication it should be typed in a terminal). Of course, this requires you to have "git" installed. Which I would recommend if you're doing any development with D.
>
> Alternatively you can download a zip of the sources:
>
> 1. Download the DWT sources [1]
> 2. Extract the zip file
> 3. Download the DWT Win32 sources [2]
> 4. Extract the Win32 zip file into "dwt\org.eclipse.swt.win32.win32.x86", where "dwt" is the path you extracted the DWT source code to
>
> [1] https://github.com/d-widget-toolkit/dwt/archive/master.zip
> [2] https://github.com/d-widget-toolkit/org.eclipse.swt.win32.win32.x86/archive/master.zip

Okay, thanks for your detailed answer. What should i do next if i extracted the Win32 zip file?

June 27, 2014
On 2014-06-27 10:10, pgtkda wrote:

> Okay, thanks for your detailed answer. What should i do next if i
> extracted the Win32 zip file?

Follow the instructions here [1]. The steps I described above replaces the second step in the linked build instructions.

[1] https://github.com/d-widget-toolkit/dwt#building-1

-- 
/Jacob Carlborg
July 01, 2014
On Friday, 27 June 2014 at 19:37:13 UTC, Jacob Carlborg wrote:
> On 2014-06-27 10:10, pgtkda wrote:
>
>> Okay, thanks for your detailed answer. What should i do next if i
>> extracted the Win32 zip file?
>
> Follow the instructions here [1]. The steps I described above replaces the second step in the linked build instructions.
>
> [1] https://github.com/d-widget-toolkit/dwt#building-1

Hi, thanks againf or your answer. I navigated to the dmd folder where the rdmd.exe file is. If i type "rdmd build base swt" i get this Error:

Error: cannot read file build.d
Failed: ^"dmd^" ^"-v^" ^"-o-^" ^"build.d^" ^"-I.^"

July 01, 2014
On Tuesday, 1 July 2014 at 06:11:26 UTC, pgtkda wrote:
> On Friday, 27 June 2014 at 19:37:13 UTC, Jacob Carlborg wrote:
>> On 2014-06-27 10:10, pgtkda wrote:
>>
>>> Okay, thanks for your detailed answer. What should i do next if i
>>> extracted the Win32 zip file?
>>
>> Follow the instructions here [1]. The steps I described above replaces the second step in the linked build instructions.
>>
>> [1] https://github.com/d-widget-toolkit/dwt#building-1
>
> Hi, thanks againf or your answer. I navigated to the dmd folder where the rdmd.exe file is. If i type "rdmd build base swt" i get this Error:
>
> Error: cannot read file build.d
> Failed: ^"dmd^" ^"-v^" ^"-o-^" ^"build.d^" ^"-I.^"

Okay, i created the missing folders. But now if i type this in my console:

C:\Program Files (x86)\dmd.2.063.2\dmd2\windows\bin>rdmd build base swt
(in C:\Program Files (x86)\dmd.2.063.2\dmd2\windows\bin)
Building dwt-base
workdir=>C:\Program Files (x86)\dmd.2.063.2\dmd2\windows\bin\base\src
dmd.exe @C:\Program Files (x86)\dmd.2.063.2\dmd2\windows\bin\rsp
The command "dmd.exe" is either misspelled or could not be found.
object.Exception@build.d(251): compile error
----------------
0x004047B2
0x00405561
0x00403C4C
0x00413834
0x0041386F
0x0041346D
0x0040FE34
0x75F8338A in BaseThreadInitThunk
0x775B9F72 in RtlInitializeExceptionChain
0x775B9F45 in RtlInitializeExceptionChain
----------------

Although the file "dmd.exe" is in the same folder as the rsp file.
July 01, 2014
On 2014-07-01 08:11, pgtkda wrote:

> Hi, thanks againf or your answer. I navigated to the dmd folder where
> the rdmd.exe file is. If i type "rdmd build base swt" i get this Error:
>
> Error: cannot read file build.d
> Failed: ^"dmd^" ^"-v^" ^"-o-^" ^"build.d^" ^"-I.^"

You should navigate to the folder where DWT is located. It should have structure similar to what's seen here [1].

[1] https://github.com/d-widget-toolkit/dwt

-- 
/Jacob Carlborg
July 01, 2014
On 2014-07-01 08:29, pgtkda wrote:

> Okay, i created the missing folders. But now if i type this in my console:
>
> C:\Program Files (x86)\dmd.2.063.2\dmd2\windows\bin>rdmd build base swt
> (in C:\Program Files (x86)\dmd.2.063.2\dmd2\windows\bin)
> Building dwt-base
> workdir=>C:\Program Files (x86)\dmd.2.063.2\dmd2\windows\bin\base\src
> dmd.exe @C:\Program Files (x86)\dmd.2.063.2\dmd2\windows\bin\rsp
> The command "dmd.exe" is either misspelled or could not be found.

As I answered to your previous post, you run that command in directory where DWT is located. You also need to be able to access "rdmd" and "dmd" from the command line, anywhere. I don't know how you have installed "dmd" but I looks like it's not added to your PATH environment variable.

-- 
/Jacob Carlborg
« First   ‹ Prev
1 2