Boost logo

Boost-Build :

Subject: [Boost-build] Boost.jam issue
From: Reynolds, John (John.Reynolds_at_[hidden])
Date: 2009-01-30 13:23:30


In my experimentation with boost build I have an issue using contrib\boost.jam

import boost ;

boost.use-project 1.35 ;

exe app : app.cpp /boost /tools/crypto//md5 : <library>/boost//program_options ;

With /boost setup in user-config.jam

I am getting the following error [ note the lib in front of the lib ]

fatal error LNK1104: cannot open file 'libboost_program_options-vc80-mt-1_35.lib'

Any ideas how to get around this.

Output below

C:\john\etechlog1_01\Code>bjam -d+2 release /SyncEngine
warning: Graph library does not contain optional GraphML reader.
note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the
note: directories containing the Expat headers and libraries, respectively.
warning: skipping optional Message Passing Interface (MPI) library.
note: to enable MPI support, add "using mpi ;" to user-config.jam.
note: to suppress this message, pass "--without-mpi" to bjam.
note: otherwise, you can safely ignore this message.
Building Boost.Regex with the optional Unicode/ICU support disabled.
Please refer to the Boost.Regex documentation for more information
(don't panic: this is a strictly optional feature).

file application\SyncEngine\bin\msvc-8.0\release\asynch-exceptions-on\threading-multi\app.exe.rsp

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\serialization\build\msvc-8.0\release\threading-multi\boost_serialization-vc80-mt-1_35.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\serialization\build\msvc-8.0\release\threading-multi\boost_wserialization-vc80-mt-1_35.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\signals\build\msvc-8.0\release\threading-multi\boost_signals-vc80-mt-1_35.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\test\build\msvc-8.0\release\asynch-exceptions-on\threading-multi\boost_prg_exec_monitor-vc80-mt-1_35.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\test\build\msvc-8.0\release\asynch-exceptions-on\link-static\threading-multi\libboost_test_exec_monitor-vc80-mt-1_35
.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\test\build\msvc-8.0\release\asynch-exceptions-on\threading-multi\boost_unit_test_framework-vc80-mt-1_35.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\thread\build\msvc-8.0\release\threading-multi\boost_thread-vc80-mt-1_35.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\wave\build\msvc-8.0\release\threading-multi\instantiate_cpp_exprgrammar.obj"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\wave\build\msvc-8.0\release\threading-multi\instantiate_cpp_grammar.obj"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\wave\build\msvc-8.0\release\threading-multi\instantiate_cpp_literalgrs.obj"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\wave\build\msvc-8.0\release\threading-multi\instantiate_defined_grammar.obj"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\wave\build\msvc-8.0\release\threading-multi\instantiate_predef_macros.obj"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\wave\build\msvc-8.0\release\threading-multi\instantiate_re2c_lexer.obj"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\wave\build\msvc-8.0\release\threading-multi\instantiate_re2c_lexer_str.obj"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\wave\build\msvc-8.0\release\threading-multi\token_ids.obj"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\wave\build\msvc-8.0\release\threading-multi\wave_config_constant.obj"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\wave\build\msvc-8.0\release\threading-multi\cpplexer\re2clex\aq.obj"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\wave\build\msvc-8.0\release\threading-multi\cpplexer\re2clex\cpp_re.obj"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\wave\build\msvc-8.0\release\threading-multi\boost_wave-vc80-mt-1_35.lib"

"tools\crypto\md5\bin\msvc-8.0\release\threading-multi\md5.lib"

"application\SyncEngine\bin\msvc-8.0\release\asynch-exceptions-on\threading-multi\app.obj"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\date_time\build\msvc-8.0\release\threading-multi\boost_date_time-vc80-mt-1_35.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\system\build\msvc-8.0\release\threading-multi\boost_system-vc80-mt-1_35.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\filesystem\build\msvc-8.0\release\threading-multi\boost_filesystem-vc80-mt-1_35.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\graph\build\msvc-8.0\release\threading-multi\boost_graph-vc80-mt-1_35.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\iostreams\build\msvc-8.0\release\threading-multi\boost_iostreams-vc80-mt-1_35.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\program_options\build\msvc-8.0\release\threading-multi\boost_program_options-vc80-mt-1_35.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\python\build\msvc-8.0\release\threading-multi\boost_python-vc80-mt-1_35.lib"

"c:\john\etechlog1_01\Code\tools\boost\boost_1_35_0\bin.v2\libs\regex\build\msvc-8.0\release\threading-multi\boost_regex-vc80-mt-1_35.lib"

"python25.lib"

msvc.link application\SyncEngine\bin\msvc-8.0\release\asynch-exceptions-on\threading-multi\app.exe

        call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86 >nul
link /NOLOGO /INCREMENTAL:NO /subsystem:console /out:"application\SyncEngine\bin\msvc-8.0\release\asynch-exceptions-on\threading-multi\app.exe" /LIBPATH:"C:\Python25\libs" @"appli
cation\SyncEngine\bin\msvc-8.0\release\asynch-exceptions-on\threading-multi\app.exe.rsp"
        if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

LINK : fatal error LNK1104: cannot open file 'libboost_program_options-vc80-mt-1_35.lib'
...failed updating 1 target...

C:\john\etechlog1_01\Code>

Many Thanks
John


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