July 08, 2008
yidabu wrote:
> On Tue, 08 Jul 2008 19:49:00 +0900
> Bill Baxter <dnewsgroup@billbaxter.com> wrote:
> 
>> yidabu wrote:
>>> On Mon, 07 Jul 2008 16:05:23 +0200
>>> Frank Benoit <keinfarbton@googlemail.com> wrote:
>>>
>>>> yidabu schrieb:
>>>>> On Mon, 7 Jul 2008 10:39:44 +0800
>>>>> yidabu <yidabu.spam@gmail.com> wrote:
>>>>>
>>>>>> I tried building dwt-addons with version=TANGOSVN, get errors:
>>>>>>
>>>>>>
>>>>>> dwtx\ui\internal\forms\widgets\TextSegment.d(34): module BreakIterator cannot re
>>>>>> ad file 'dwtx\dwtxhelper\BreakIterator.d'
>>>>>> Command D:\d\dmd\bin\rebuild.exe returned with code 1, aborting.
>>>>>> Error: Command failed, aborting.
>>>>>>
>>>>>> dwtx\ui\internal\forms\widgets\FormUtil.d(45): module BreakIterator cannot read file 'dwtx\dwtxhelper\BreakIterator.d'
>>>>>>
>>>>>> dwtx.dwtxhelper.BreakIterator
>>>>>> should be:
>>>>>> dwtx.dwthelper.mangoicu.UBreakIterator
>>>>>>
>>>>> moudle name like this:
>>>>> dwtx.dwtx.dwthelper.*
>>>>> should be:
>>>>> dwtx.dwtxhelper.*
>>>>>
>>>>>
>>>>>
>>>> works now. thx for report yidabu.
>>>> Frank
>>> warning on building dwtx.lib:
>>>
>>> Warning: Public '_D5tango4text3xml8Document15__T8DocumentTaZ8Document7Visitor6__
>>> initZ' already in library, redefinition ignored.
>>> Warning: Public '_D5tango4text3xml8Document15__T8DocumentTaZ8Document8NodeImpl6_
>>> _initZ' already in library, redefinition ignored.
>>> Warning: Public '_D5tango4text3xml8Document14__T7XmlPathTaZ7XmlPath7NodeSet6__in
>>> itZ' already in library, redefinition ignored.
>> InitZ errors are due to the compiler.  Try rebuilding with -full and/or changing the oneatatime settings in your dsss config to the opposite of what they're set to now.
>>
>> --bb
> 
> thanks. but buildflags with -full and set oneatatime=no already.
> 

Right, so try with oneatatime=yes.

--bb
July 09, 2008
On Tue, 08 Jul 2008 20:57:45 +0900
Bill Baxter <dnewsgroup@billbaxter.com> wrote:

> yidabu wrote:
> > On Tue, 08 Jul 2008 19:49:00 +0900
> > Bill Baxter <dnewsgroup@billbaxter.com> wrote:
> > 
> >> yidabu wrote:
> >>> On Mon, 07 Jul 2008 16:05:23 +0200
> >>> Frank Benoit <keinfarbton@googlemail.com> wrote:
> >>>
> >>>> yidabu schrieb:
> >>>>> On Mon, 7 Jul 2008 10:39:44 +0800
> >>>>> yidabu <yidabu.spam@gmail.com> wrote:
> >>>>>
> >>>>>> I tried building dwt-addons with version=TANGOSVN, get errors:
> >>>>>>
> >>>>>>
> >>>>>> dwtx\ui\internal\forms\widgets\TextSegment.d(34): module BreakIterator cannot re
> >>>>>> ad file 'dwtx\dwtxhelper\BreakIterator.d'
> >>>>>> Command D:\d\dmd\bin\rebuild.exe returned with code 1, aborting.
> >>>>>> Error: Command failed, aborting.
> >>>>>>
> >>>>>> dwtx\ui\internal\forms\widgets\FormUtil.d(45): module BreakIterator cannot read file 'dwtx\dwtxhelper\BreakIterator.d'
> >>>>>>
> >>>>>> dwtx.dwtxhelper.BreakIterator
> >>>>>> should be:
> >>>>>> dwtx.dwthelper.mangoicu.UBreakIterator
> >>>>>>
> >>>>> moudle name like this:
> >>>>> dwtx.dwtx.dwthelper.*
> >>>>> should be:
> >>>>> dwtx.dwtxhelper.*
> >>>>>
> >>>>>
> >>>>>
> >>>> works now. thx for report yidabu.
> >>>> Frank
> >>> warning on building dwtx.lib:
> >>>
> >>> Warning: Public '_D5tango4text3xml8Document15__T8DocumentTaZ8Document7Visitor6__
> >>> initZ' already in library, redefinition ignored.
> >>> Warning: Public '_D5tango4text3xml8Document15__T8DocumentTaZ8Document8NodeImpl6_
> >>> _initZ' already in library, redefinition ignored.
> >>> Warning: Public '_D5tango4text3xml8Document14__T7XmlPathTaZ7XmlPath7NodeSet6__in
> >>> itZ' already in library, redefinition ignored.
> >> InitZ errors are due to the compiler.  Try rebuilding with -full and/or changing the oneatatime settings in your dsss config to the opposite of what they're set to now.
> >>
> >> --bb
> > 
> > thanks. but buildflags with -full and set oneatatime=no already.
> > 
> 
> Right, so try with oneatatime=yes.
> 
> --bb


The warnings seems not cause any problems.
 if set oneatatime=yes, the executable will be larger.


-- 
yidabu <yidabu.spam@gmail.com> http://www.dsource.org/projects/dwin

D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/


July 09, 2008
yidabu wrote:
> The warnings seems not cause any problems.
>  if set oneatatime=yes, the executable will be larger.
> 
I seem to remember it's the other way around.  oneatatime=yes when building the library makes the executable smaller, because it reduces interdependencies between object files.  So fewer object files will be linked into the final executable in many cases.
July 09, 2008
torhu wrote:
> yidabu wrote:
>> The warnings seems not cause any problems.
>>  if set oneatatime=yes, the executable will be larger.
>>
> I seem to remember it's the other way around.  oneatatime=yes when building the library makes the executable smaller, because it reduces interdependencies between object files.  So fewer object files will be linked into the final executable in many cases.

Yeh, now that you mention it, that's what I recall too.  The down side is just that it can take half an hour to build dwt on a slow computer with that.

--bb
July 10, 2008
Frank Benoit wrote:
> dwt-linux is now updated from SWT 3.4M7 to SWT 3.4.
> A new version=TANGOSVN is added to make it possible to work also with tango trunk from svn.
> 
> dwt-win is work in progress.

Why do I get File Not Found zlib.lib?

dwt_test.d => dwt_test
+ C:\dmd\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dmd\dsss\include\d -SC:\dmd\dsss\lib\  -IC:\dmd\dsss\include\d -S
C:\dmd\dsss\lib  -oqdsss_objs\D -L/SUBSYSTEM:windows:5 dwt_test.d -ofdwt_test
OPTLINK (R) for Win32  Release 8.00.1
Copyright (C) Digital Mars 1989-2004  All rights reserved.
zlib.lib
 Warning 2: File Not Found zlib.lib
dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
 Error 42: Symbol Undefined _inflateEnd
dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
 Error 42: Symbol Undefined _inflate
dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
 Error 42: Symbol Undefined _deflateEnd
dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
 Error 42: Symbol Undefined _deflate
dsss_objs\D\tango-io-compress-c-zlib.obj(tango-io-compress-c-zlib)
 Error 42: Symbol Undefined _inflateInit_
--- errorlevel 5
Command C:\dmd\dsss\bin\rebuild.exe returned with code -1, aborting.
Error: Command failed, aborting.
July 10, 2008
On Thu, 10 Jul 2008 19:23:44 +0800
negerns <negerns2000@gmail.com> wrote:

> Frank Benoit wrote:
> > dwt-linux is now updated from SWT 3.4M7 to SWT 3.4.
> > A new version=TANGOSVN is added to make it possible to work also with
> > tango trunk from svn.
> > 
> > dwt-win is work in progress.
> 
> Why do I get File Not Found zlib.lib?
> 
> dwt_test.d => dwt_test
> + C:\dmd\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\
> -IC:\dmd\dsss\include\d -SC:\dmd\dsss\lib\  -IC:\dmd\dsss\include\d -S
> C:\dmd\dsss\lib  -oqdsss_objs\D -L/SUBSYSTEM:windows:5 dwt_test.d
> -ofdwt_test
> OPTLINK (R) for Win32  Release 8.00.1
> Copyright (C) Digital Mars 1989-2004  All rights reserved.
> zlib.lib
>   Warning 2: File Not Found zlib.lib
> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
>   Error 42: Symbol Undefined _inflateEnd
> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
>   Error 42: Symbol Undefined _inflate
> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
>   Error 42: Symbol Undefined _deflateEnd
> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
>   Error 42: Symbol Undefined _deflate
> dsss_objs\D\tango-io-compress-c-zlib.obj(tango-io-compress-c-zlib)
>   Error 42: Symbol Undefined _inflateInit_
> --- errorlevel 5
> Command C:\dmd\dsss\bin\rebuild.exe returned with code -1, aborting. Error: Command failed, aborting.


http://svn.dsource.org/projects/dwin/trunk/lib/zlib.lib



-- 
yidabu <yidabu.spam@gmail.com> http://www.dsource.org/projects/dwin

D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/


July 10, 2008
negerns schrieb:
> Frank Benoit wrote:
>> dwt-linux is now updated from SWT 3.4M7 to SWT 3.4.
>> A new version=TANGOSVN is added to make it possible to work also with tango trunk from svn.
>>
>> dwt-win is work in progress.
> 
> Why do I get File Not Found zlib.lib?
> 
> dwt_test.d => dwt_test
> + C:\dmd\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dmd\dsss\include\d -SC:\dmd\dsss\lib\  -IC:\dmd\dsss\include\d -S
> C:\dmd\dsss\lib  -oqdsss_objs\D -L/SUBSYSTEM:windows:5 dwt_test.d -ofdwt_test
> OPTLINK (R) for Win32  Release 8.00.1
> Copyright (C) Digital Mars 1989-2004  All rights reserved.
> zlib.lib
>  Warning 2: File Not Found zlib.lib
> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
>  Error 42: Symbol Undefined _inflateEnd
> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
>  Error 42: Symbol Undefined _inflate
> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
>  Error 42: Symbol Undefined _deflateEnd
> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream)
>  Error 42: Symbol Undefined _deflate
> dsss_objs\D\tango-io-compress-c-zlib.obj(tango-io-compress-c-zlib)
>  Error 42: Symbol Undefined _inflateInit_
> --- errorlevel 5
> Command C:\dmd\dsss\bin\rebuild.exe returned with code -1, aborting.
> Error: Command failed, aborting.

you need to add zlib to your libraries.
zlib.lib is part of the dmd release.

The source dwt.dwthelper.InflaterInputStream file already has the
    version(build){
        pragma(link,"zlib");
    }
I had expected that this would make this work automatically.
But it does not look like :/
July 12, 2008
Frank Benoit wrote:
> negerns schrieb:
>> Frank Benoit wrote:
>>> dwt-linux is now updated from SWT 3.4M7 to SWT 3.4.
>>> A new version=TANGOSVN is added to make it possible to work also with tango trunk from svn.
>>>
>>> dwt-win is work in progress.
>>
>> Why do I get File Not Found zlib.lib?
>>
>> dwt_test.d => dwt_test
>> + C:\dmd\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dmd\dsss\include\d -SC:\dmd\dsss\lib\  -IC:\dmd\dsss\include\d -S
>> C:\dmd\dsss\lib  -oqdsss_objs\D -L/SUBSYSTEM:windows:5 dwt_test.d -ofdwt_test
>> OPTLINK (R) for Win32  Release 8.00.1
>> Copyright (C) Digital Mars 1989-2004  All rights reserved.
>> zlib.lib
>>  Warning 2: File Not Found zlib.lib
>> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream) 
>>
>>  Error 42: Symbol Undefined _inflateEnd
>> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream) 
>>
>>  Error 42: Symbol Undefined _inflate
>> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream) 
>>
>>  Error 42: Symbol Undefined _deflateEnd
>> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream) 
>>
>>  Error 42: Symbol Undefined _deflate
>> dsss_objs\D\tango-io-compress-c-zlib.obj(tango-io-compress-c-zlib)
>>  Error 42: Symbol Undefined _inflateInit_
>> --- errorlevel 5
>> Command C:\dmd\dsss\bin\rebuild.exe returned with code -1, aborting.
>> Error: Command failed, aborting.
> 
> you need to add zlib to your libraries.
> zlib.lib is part of the dmd release.
> 
> The source dwt.dwthelper.InflaterInputStream file already has the
>     version(build){
>         pragma(link,"zlib");
>     }
> I had expected that this would make this work automatically.
> But it does not look like :/

I have downloaded the zlib.lib file from yidabu's provided link.

I am using dmd 1.030 from Christopher Miller's snapshot but I don't find it in my dmd\lib folder. Neither could I find it in the dmd releases.
July 12, 2008
negerns schrieb:
> Frank Benoit wrote:
>> negerns schrieb:
>>> Frank Benoit wrote:
>>>> dwt-linux is now updated from SWT 3.4M7 to SWT 3.4.
>>>> A new version=TANGOSVN is added to make it possible to work also with tango trunk from svn.
>>>>
>>>> dwt-win is work in progress.
>>>
>>> Why do I get File Not Found zlib.lib?
>>>
>>> dwt_test.d => dwt_test
>>> + C:\dmd\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dmd\dsss\include\d -SC:\dmd\dsss\lib\  -IC:\dmd\dsss\include\d -S
>>> C:\dmd\dsss\lib  -oqdsss_objs\D -L/SUBSYSTEM:windows:5 dwt_test.d -ofdwt_test
>>> OPTLINK (R) for Win32  Release 8.00.1
>>> Copyright (C) Digital Mars 1989-2004  All rights reserved.
>>> zlib.lib
>>>  Warning 2: File Not Found zlib.lib
>>> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream) 
>>>
>>>  Error 42: Symbol Undefined _inflateEnd
>>> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream) 
>>>
>>>  Error 42: Symbol Undefined _inflate
>>> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream) 
>>>
>>>  Error 42: Symbol Undefined _deflateEnd
>>> dsss_objs\D\tango-io-compress-ZlibStream.obj(tango-io-compress-ZlibStream) 
>>>
>>>  Error 42: Symbol Undefined _deflate
>>> dsss_objs\D\tango-io-compress-c-zlib.obj(tango-io-compress-c-zlib)
>>>  Error 42: Symbol Undefined _inflateInit_
>>> --- errorlevel 5
>>> Command C:\dmd\dsss\bin\rebuild.exe returned with code -1, aborting.
>>> Error: Command failed, aborting.
>>
>> you need to add zlib to your libraries.
>> zlib.lib is part of the dmd release.
>>
>> The source dwt.dwthelper.InflaterInputStream file already has the
>>     version(build){
>>         pragma(link,"zlib");
>>     }
>> I had expected that this would make this work automatically.
>> But it does not look like :/
> 
> I have downloaded the zlib.lib file from yidabu's provided link.
> 
> I am using dmd 1.030 from Christopher Miller's snapshot but I don't find it in my dmd\lib folder. Neither could I find it in the dmd releases.

Hm yes, it does not seem to be part of dmd. I wonder where i come from :)
Perhaps its build in the tango build process.
1 2
Next ›   Last »