Boost logo

Boost Users :

From: Oliver Schoenborn (oliver.schoenborn_at_[hidden])
Date: 2005-06-21 11:56:51


Hi, I am trying to create a dll for boost log v1.33(ie a dll containing code
compiled from functions.cpp, log.cpp and log_manager.cpp) using VC++ 7.1 on
WinXP. I get the same error whether I do it from VisualStudio or using bjam.
The bjam file is :

dll libboost_log : functions.cpp log.cpp log_manager.cpp
        : <include>c:/Boost/include/boost-1_32
          <include>../../include ;

and the vc-Link fails with the message that it "cannot open file
'boost_log-vc71-mt-gd-1_32.lib'". I have *no* idea where or how vc-Link
comes to the conclusion that it needs that lib file. Any ideas? Thanks,
 
Oliver
 
p.s. The output from bjam session is:

$ bjam
...patience...
...found 310 targets...
...updating 2 targets...
vc-Link libboost_log.dll\vc-7_1\debug\threading-multi\libboost_log.dll
libboost_log.dll\vc-7_1\debug\threading-multi\libboost_log.lib
LINK : fatal error LNK1104: cannot open file 'boost_log-vc71-mt-gd-1_32.lib'
 
    CALL "C:\Program Files\Microsoft Visual Studio .NET
2003\VC7\bin\VCVARS32.BAT" >nul
    "C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\bin\link"
/nologo /INCREMENTAL:NO /DEBUG /DLL /subsystem:console
/out:"libboost_log.dll\vc-7_1\debug\threading-multi\libboost_log.dll"
/IMPLIB:"libboost_log.dll\vc-7_1\debug\threading-multi\libboost_log.lib"
@"libboost_log.dll\vc-7_1\debug\threading-multi\libboost_log.CMD"
 
...failed vc-Link
libboost_log.dll\vc-7_1\debug\threading-multi\libboost_log.dll
libboost_log.dll\vc-7_1\debug\threading-multi\libboost_log.lib...
...failed updating 2 targets...

 
---------------------------------------------
Oliver Schoenborn
Consultant, Modelling & Simulation
Greenley & Associates Inc.
5 Corvus Court
Ottawa, ON K2E 7Z4
Canada
 
D: (613) 247-0342 x217
C: (613) 371-4773
F: (613) 225-4281
www.greenley.ca <http://www.greenley.ca/>

 



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net