|
Boost-Build : |
From: Michael Marcin (mike_at_[hidden])
Date: 2007-05-17 04:11:53
Hello.
I have a problem building a project with BBv2 from HEAD that I can't
figure out.
I have a Jamfile that contains:
lib zlib
:
[ glob ../../sdk/zlib/*.c ]
:
:
:
<include>../../sdk/zlib
;
lib png
:
[ glob ../../sdk/lpng/*.c ]
zlib
:
:
:
<include>../../sdk/lpng
;
If I run "bjam toolset=msvc-8.0 variant=debug png" from a DOS console
(on Windows XP Pro).
I get:
msvc.link.dll bin\msvc-8z.0\debug\threading-multi\zlib.dll
bin\msvc-8.0\debug\threading-multi\zlib.lib
msvc.link.dll bin\msvc-8.0\debug\threading-multi\png.dll
bin\msvc-8.0\debug\threading-multi\png.lib
LINK : fatal error LNK1181: cannot open input file
'bin\msvc-8.0\debug\threading-multi\zlib.lib'
call "C:\Program Files\Microsoft Visual Studio
8\VC\vcvarsall.bat" x86 >nul
link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG /subsystem:console
/out:"bin\msvc-8.0\debug\threading-multi\png.dll"
/IMPLIB:"bin\msvc-8.0\debug\threading-multi\png.li
b" @"bin\msvc-8.0\debug\threading-multi\png.dll.rsp"
if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
if exist "bin\msvc-8.0\debug\threading-multi\png.dll.manifest" (
mt -nologo -manifest
"bin\msvc-8.0\debug\threading-multi\png.dll.manifest"
"-outputresource:bin\msvc-8.0\debug\threading-multi\png.dll;2"
)
...failed msvc.link.dll bin\msvc-8.0\debug\threading-multi\png.dll
bin\msvc-8.0\debug\threading-multi\png.lib...
...failed updating 2 targets...
...updated 1 target...
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.
Thanks,
Michael Marcin
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