dwt update 3.4

Frank Benoit keinfarbton at googlemail.com
Sat Jul 12 02:10:34 PDT 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.


More information about the Digitalmars-d-dwt mailing list