dwt update 3.4

Frank Benoit keinfarbton at googlemail.com
Thu Jul 10 15:11:08 PDT 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 :/


More information about the Digitalmars-d-dwt mailing list