Re: Problem building DWT-Win

2009-04-01 Thread davidl

在 Wed, 01 Apr 2009 17:44:17 +0800,Mike James  写道:


Hi,

I got this error with latest trunk Tango, DMD 1.042 and latest trunk  
DWT-Win...


d dwt\widgets\Widget.d -ofDD-dwt.lib
dwt\dwthelper\InflaterInputStream.d(34): Error: function  
tango.io.device.Conduit
.Conduit.load (uint) does not match parameter types  
(InputStreamWrapper,void[])
dwt\dwthelper\InflaterInputStream.d(34): Error: cannot implicitly  
convert expres

sion (dst) of type void[] to uint
Command c:\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.

C:\dwt-win>

Regards, Mike.


try build with -version=TANGOSVN

However, maybe it's time for frank to catch up with tango due to tango  
release


Re: Problem building DWT addons

2009-03-30 Thread davidl
在 Mon, 30 Mar 2009 02:08:29 +0800,Frank Benoit  
 写道:



Mike James schrieb:
I'm having a problem building the DWT addons. It takes about 45 minutes  
then fails with the following problem:


D:\dwt-addons>dsss build -version=TANGOSVN
WARNING: Section for nonexistant file test.d.
Creating imports for DD-dwtx

dwtx => DD-dwtx
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html

Error: cannot open response file
Command c:\dsss\bin\rebuild.exe returned with code -1, aborting.
Error: Command failed, aborting.

D:\dwt-addons>dsss build -version=TANGOSVN
WARNING: Section for nonexistant file test.d.
Creating imports for DD-dwtx

dwtx => DD-dwtx
Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html

Error: cannot open response file
Command c:\dsss\bin\rebuild.exe returned with code -1, aborting.
Error: Command failed, aborting.

D:\dwt-addons>

I'm using Windows XP, DMD 1.041, Tango 0.99.8 and the latest DWT trunk.


Regards, mike.



Yes, i can confirm this behavior.
But i don't know the cause nor a solution.



I believe it's related http://d.puremagic.com/issues/show_bug.cgi?id=2772


Re: DWT2 Windows building error

2009-03-23 Thread davidl

在 Mon, 23 Mar 2009 19:16:25 +0800,davidl  写道:


在 Mon, 23 Mar 2009 19:01:56 +0800,davidl  写道:

在 Mon, 23 Mar 2009 17:24:18 +0800,Frank Benoit  
 写道:



yidabu schrieb:

On Sun, 22 Mar 2009 10:38:54 +0100
Frank Benoit  wrote:


yidabu schrieb:

how to building lib file on Windows?
Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj  
" to generated dwt2.lib?


Building libs and apps is not yet integrated. At the moment i just  
use

it to compile.


Is it the time to use dwt2 instead of dwt-win to build app?




The rakefile can now build the snippets on windows. So I think it  
should

be possible to build apps also.

I think compile time and exe size went down, but i haven't measured.



The clean target is somewhat stupid ;) I need to fake files for it to  
clean.

Also
My rakefile need this line:
rspfile_abs = File.expand_path( RSPNAME )
Don't know why it's gone.

It's cool that the executable size goes down.


ah, sorry, rspfile_abs is required because of my last stupid debugging  
trace :p
Maybe it's better make the rake native executable. That would be better  
for other to test and have fun, or by specifying the rake version.
I'm using the official bundle. shouldn't the rake be the same as yours  
x_x ?


BTW, those snippets work brilliantly. Why does the binary size drop  
magically?


umm, i used the ruby 1.8.6 one click installer. :D i think that should be  
the problem. Your one supposed to be 1.9.0?


Re: DWT2 Windows building error

2009-03-23 Thread davidl

在 Mon, 23 Mar 2009 19:01:56 +0800,davidl  写道:

在 Mon, 23 Mar 2009 17:24:18 +0800,Frank Benoit  
 写道:



yidabu schrieb:

On Sun, 22 Mar 2009 10:38:54 +0100
Frank Benoit  wrote:


yidabu schrieb:

how to building lib file on Windows?
Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj  
" to generated dwt2.lib?



Building libs and apps is not yet integrated. At the moment i just use
it to compile.


Is it the time to use dwt2 instead of dwt-win to build app?




The rakefile can now build the snippets on windows. So I think it should
be possible to build apps also.

I think compile time and exe size went down, but i haven't measured.



The clean target is somewhat stupid ;) I need to fake files for it to  
clean.

Also
My rakefile need this line:
rspfile_abs = File.expand_path( RSPNAME )
Don't know why it's gone.

It's cool that the executable size goes down.


ah, sorry, rspfile_abs is required because of my last stupid debugging  
trace :p
Maybe it's better make the rake native executable. That would be better  
for other to test and have fun, or by specifying the rake version.
I'm using the official bundle. shouldn't the rake be the same as yours x_x  
?


BTW, those snippets work brilliantly. Why does the binary size drop  
magically?


Re: DWT2 Windows building error

2009-03-23 Thread davidl
在 Mon, 23 Mar 2009 17:24:18 +0800,Frank Benoit  
 写道:



yidabu schrieb:

On Sun, 22 Mar 2009 10:38:54 +0100
Frank Benoit  wrote:


yidabu schrieb:

how to building lib file on Windows?
Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj "  
to generated dwt2.lib?



Building libs and apps is not yet integrated. At the moment i just use
it to compile.


Is it the time to use dwt2 instead of dwt-win to build app?




The rakefile can now build the snippets on windows. So I think it should
be possible to build apps also.

I think compile time and exe size went down, but i haven't measured.



The clean target is somewhat stupid ;) I need to fake files for it to  
clean.

Also
My rakefile need this line:
rspfile_abs = File.expand_path( RSPNAME )
Don't know why it's gone.

It's cool that the executable size goes down.


Re: DWT2 Windows building error

2009-03-23 Thread davidl
在 Mon, 23 Mar 2009 17:24:18 +0800,Frank Benoit  
 写道:



yidabu schrieb:

On Sun, 22 Mar 2009 10:38:54 +0100
Frank Benoit  wrote:


yidabu schrieb:

how to building lib file on Windows?
Run Rake, obj fiels generated, Should I to run "lib a.obj b.obj "  
to generated dwt2.lib?



Building libs and apps is not yet integrated. At the moment i just use
it to compile.


Is it the time to use dwt2 instead of dwt-win to build app?




The rakefile can now build the snippets on windows. So I think it should
be possible to build apps also.

I think compile time and exe size went down, but i haven't measured.



(in D:/digitalmars/dsource/dwt2)
rake aborted!
wrong number of arguments (2 for 1)
D:/digitalmars/dsource/dwt2/rakefile:208:in `task'
(See full trace by running task with --trace)

seems your rake is more advancing?