Boost logo

Boost-Build :

From: Andrej van der Zee (mavdzee_at_[hidden])
Date: 2008-06-06 00:12:49


Hi,

I am trying to port my application from Linux to
Windows. I was able to compile boost and also my own
project. Though, linking my executables gives errors
like below; somehow it tries to find a .lib file
instead of a .dll. Is this normal? Hope you can help.

Cheers,
Andrej

$bjam --toolset=msvc
--boost-build=/opt/src/boost_1_35_0/tools/build/v2
...patience...
...found 1200 targets...
...updating 5 targets...
msvc.link.dll
util\bin\msvc-9.0\debug\threading-multi\speedo_util.dll
msvc.link.dll
server\handlers\bin\msvc-9.0\debug\threading-multi\speedo_handlers.dll
LINK : fatal error LNK1104: cannot open file
'libboost_date_time-vc90-mt-gd-1_35.lib'

        call "C:\Program Files\Microsoft Visual Studio
9.0\VC\vcvarsall.bat" x86 >nul
link /NOLOGO /INCREMENTAL:NO /DLL /DEBUG
/subsystem:console
/out:"server\handlers\bin\msvc-9.0\debug\threading-multi\speedo_handlers.dll"
/IMPLIB:"server\handlers\bin\msvc-9.0\debug\threading-multi\speedo_handlers.lib"
/LIBPATH:"c:\opt\lib"
@"server\handlers\bin\msvc-9.0\debug\threading-multi\speedo_handlers.dll.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
        if exist
"server\handlers\bin\msvc-9.0\debug\threading-multi\speedo_handlers.dll.manifest"
(
            mt -nologo -manifest
"server\handlers\bin\msvc-9.0\debug\threading-multi\speedo_handlers.dll.manifest"
"-outputresource:server\handlers\bin\msvc-9.0\debug\threading-multi\speedo_handlers.dll;2"
        )
    
...failed msvc.link.dll
server\handlers\bin\msvc-9.0\debug\threading-multi\speedo_handlers.dll
server\handlers\bin\msvc-9.0\debug\threading-multi\speedo_handlers.lib...
...skipped
<pserver\daemon\bin\msvc-9.0\debug\threading-multi>speedosrvd.exe
for lack of
<pserver\handlers\bin\msvc-9.0\debug\threading-multi>speedo_handlers.lib...
msvc.link
client\daemon\bin\msvc-9.0\debug\threading-multi\speedoclt.exe
LINK : fatal error LNK1181: cannot open input file
'util\bin\msvc-9.0\debug\threading-multi\speedo_util.lib'

        call "C:\Program Files\Microsoft Visual Studio
9.0\VC\vcvarsall.bat" x86 >nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console
/out:"client\daemon\bin\msvc-9.0\debug\threading-multi\speedoclt.exe"
/LIBPATH:"c:\opt\lib"
@"client\daemon\bin\msvc-9.0\debug\threading-multi\speedoclt.exe.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
        if exist
"client\daemon\bin\msvc-9.0\debug\threading-multi\speedoclt.exe.manifest"
(
            mt -nologo -manifest
"client\daemon\bin\msvc-9.0\debug\threading-multi\speedoclt.exe.manifest"
"-outputresource:client\daemon\bin\msvc-9.0\debug\threading-multi\speedoclt.exe;1"
        )
    
...failed msvc.link
client\daemon\bin\msvc-9.0\debug\threading-multi\speedoclt.exe...
...failed updating 3 targets...
...skipped 1 target...
...updated 1 target...

      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html


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