Boost logo

Boost-Build :

Subject: [Boost-build] another simple boost build failure
From: Ronny Herzog (herzog_at_[hidden])
Date: 2012-10-23 05:10:46


Dear all,

I successfully imported the boost_filesystem, but no I am stuck with
boost_regex. The linker complains that it is not able to open
'libboost_regex-vc90-mt-gd-1_50.lib' although it is there (in
c:\boost_1_50_0\stage\lib). Again, I am using Windows 7. Anyone has an
idea why? Because the boost::filesystem works.

Thanks in advance!
Ronny

*** Jamroot ***
using msvc ;

use-project boost
   : c:/boost_1_50_0 ;

project spectraImport
     : requirements <library>/boost/filesystem//boost_filesystem
     : requirements <library>/boost/regex//boost_regex
     : build-dir ../boost-build
     ;

exe spectraImport
     : [ glob *.cpp ]
     ;

install ../boost-build : spectraImport ;

*** output ***
Performing configuration checks

     - has_icu builds : no
...patience...
...found 966 targets...
...updating 4 targets...
msvc.link ..\boost-build\msvc-9.0\debug\threading-multi\spectraImport.exe
LINK : fatal error LNK1104: cannot open file
'libboost_regex-vc90-mt-gd-1_50.lib
'

         call "C:\Program Files\Microsoft Visual Studio
9.0\VC\vcvarsall.bat" x86
>nul
link /NOLOGO /INCREMENTAL:NO /DEBUG /MACHINE:X86 /subsystem:console
/out:"..\boo
st-build\msvc-9.0\debug\threading-multi\spectraImport.exe"
@"..\boost-build\ms
vc-9.0\debug\threading-multi\spectraImport.exe.rsp"
         if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%

...failed msvc.link
..\boost-build\msvc-9.0\debug\threading-multi\spectraImport.
exe ..\boost-build\msvc-9.0\debug\threading-multi\spectraImport.pdb
..\boost-bui
ld\msvc-9.0\debug\threading-multi\spectraImport.pdb...
...skipped <p..\boost-build>spectraImport.exe for lack of
<p..\boost-build\msvc-
9.0\debug\threading-multi>spectraImport.exe...
...skipped <p..\boost-build>spectraImport.pdb for lack of
<p..\boost-build\msvc-
9.0\debug\threading-multi>spectraImport.pdb...
...failed updating 2 targets...
...skipped 2 targets...


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