Boost logo

Boost-Build :

From: Juergen Hunold (juergen.hunold_at_[hidden])
Date: 2007-05-17 04:46:44


Hi !

On Donnerstag 17 Mai 2007, Michael Marcin wrote:
> LINK : fatal error LNK1181: cannot open input file
> 'bin\msvc-8.0\debug\threading-multi\zlib.lib'
> qDebug("hier");

> Looking in the bin\msvc-8.0\debug\threading-multi directory I see
> zlib.dll, zlib.dll.manifest, zlib.dll.rsp, and zlib.pdb. So it looks
> like it built the debug zlib just fine but didn't output an import
> library.
>
> I think I'm missing something but I don't know what.

That's the ms-linker being helpfull. You build a dll but don't export
any symbols, so it does not create a .lib file. Look at the zlib
sources for the export MACRO (usually something like "ZLIB_EXPORT" or
similar) and add it as <define>.
Or build a static library...

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk