Re: How to build program with DWT2 and DMD2?

2013-08-20 Thread JohnnyK
On Monday, 19 August 2013 at 13:44:32 UTC, Kagamin wrote: What's the executable size? This particular executable compiled to 2.7MB. Most DWT Executables are between 2.3MB and 3MB. I will say this the executables compress pretty good with the latest UPX exe compressor for windows. With

Re: How to build program with DWT2 and DMD2?

2013-08-20 Thread Jacob Carlborg
On 2013-08-20 15:31, JohnnyK wrote: This particular executable compiled to 2.7MB. Most DWT Executables are between 2.3MB and 3MB. I will say this the executables compress pretty good with the latest UPX exe compressor for windows. With UPX the executable became 766KB in size so in the end it

Re: How to build program with DWT2 and DMD2?

2013-08-19 Thread Kagamin
What's the executable size?

Re: How to build program with DWT2 and DMD2?

2013-08-08 Thread JohnnyK
On Wednesday, 7 August 2013 at 18:55:53 UTC, Druzhinin Alexandr wrote: On 08.08.2013 00:03, JohnnyK wrote: It looks to be unable to find the static libs now. How do people use this library? Do they work in the dwt folder and just use that build.d file to compile with? Again I would like to

Re: How to build program with DWT2 and DMD2?

2013-08-08 Thread Jacob Carlborg
On 2013-08-08 16:06, JohnnyK wrote: On Thursday, 8 August 2013 at 13:07:15 UTC, JohnnyK wrote: Ok problem resolved. I can now compile DWT applications from another directory structure outside of the dwt distribution directories. Below is the commandline that I used and I did not have to delete

Re: How to build program with DWT2 and DMD2?

2013-08-08 Thread JohnnyK
On Thursday, 8 August 2013 at 15:01:29 UTC, Jacob Carlborg wrote: On 2013-08-08 16:06, JohnnyK wrote: On Thursday, 8 August 2013 at 13:07:15 UTC, JohnnyK wrote: Ok problem resolved. I can now compile DWT applications from another directory structure outside of the dwt distribution

Re: How to build program with DWT2 and DMD2?

2013-08-07 Thread Jacob Carlborg
On 2013-08-06 16:49, JohnnyK wrote: yeah that did not work for me either. As you can see below it is the same as before. The Display.d is at C:\GITClones\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\widgets on my windows box. Oh, I know what the problem is now. You need to pass

Re: How to build program with DWT2 and DMD2?

2013-08-07 Thread JohnnyK
On Wednesday, 7 August 2013 at 09:49:50 UTC, Jacob Carlborg wrote: On 2013-08-07 11:48, Jacob Carlborg wrote: RDMD works like this: all flags passed before the D file will be passed to the compiler. All flags passed after the D file will be passed to the compiled application when it's run.

Re: How to build program with DWT2 and DMD2?

2013-08-07 Thread Jacob Carlborg
On 2013-08-07 16:04, JohnnyK wrote: Well now I get these errors C:\Users\myusername\Documents\My Projects\Programming\DStuff\dwthelloworldrdmd -I C:\GITClones\dwt\org.eclipse.swt.win32.win32.x86\src -IC:\GITClones\dwt\base\src hello.d C:\GITClones\dwt\base\src\java\lang\util.d(595): Error:

Re: How to build program with DWT2 and DMD2?

2013-08-07 Thread JohnnyK
On Wednesday, 7 August 2013 at 15:42:32 UTC, Jacob Carlborg wrote: On 2013-08-07 16:04, JohnnyK wrote: Well now I get these errors C:\Users\myusername\Documents\My Projects\Programming\DStuff\dwthelloworldrdmd -I C:\GITClones\dwt\org.eclipse.swt.win32.win32.x86\src -IC:\GITClones\dwt\base\src

Re: How to build program with DWT2 and DMD2?

2013-08-07 Thread Druzhinin Alexandr
On 08.08.2013 00:03, JohnnyK wrote: It looks to be unable to find the static libs now. How do people use this library? Do they work in the dwt folder and just use that build.d file to compile with? Again I would like to know the layout of a typical programmers workstation that uses DWT for

Re: How to build program with DWT2 and DMD2?

2013-08-06 Thread Jacob Carlborg
On 2013-08-02 19:50, JohnnyK wrote: Thanks Jacob for the response but that did not work :-( Below is what I get when I compile your hello world example above. C:\Users\myusername\Documents\My Projects\Programming\DStuff\dwthelloworldrdmd hello.d -IC:\GITClones\dwt hello.d(3): Error: module

Re: How to build program with DWT2 and DMD2?

2013-08-06 Thread JohnnyK
On Tuesday, 6 August 2013 at 11:32:44 UTC, Jacob Carlborg wrote: On 2013-08-02 19:50, JohnnyK wrote: If you have cloned the git repository into C:\GITClones\dwt you should compile it like this: rdmd hello.d -IC:\GITClones\dwt\org.eclipse.swt.win32.win32.x86\src -IC:\GITClones\dwt\base\src

Re: How to build program with DWT2 and DMD2?

2013-08-02 Thread JohnnyK
On Friday, 2 August 2013 at 11:28:15 UTC, Jacob Carlborg wrote: On 2013-07-31 15:47, JohnnyK wrote: Hi all, Sorry for what may seem like a simple and obvious question to most DWT users. First I would like to say that I have absolutely no experience with SWT in any form. Second I know