|
Boost-Build : |
Subject: Re: [Boost-build] another simple boost build failure
From: Ronny Herzog (herzog_at_[hidden])
Date: 2012-10-24 06:51:44
Am 10/24/2012 12:38 PM, schrieb Vicente J. Botet Escriba:
> Le 24/10/12 10:51, Ronny Herzog a écrit :
>> Dear all,
>>
>> sorry for bothering you again, but the problem did not disappear.
>> With the changes from Juergen it worked yesterday. But today it does
>> not anymore (maybe I was too tired yesterday...).
>>
>> You find my Jamroot[1] and the output of "bjam -d+2"[2] below. The
>> strange thing is that the file
>> "/C:\boost_1_50_0\bin.v2\libs\filesystem\build\msvc-9.0\debug\threading-multi\boost_filesystem-vc90-mt-gd-1_50.lib/"
>> exists. However, the linker reports that it cannot open it.
>>
>> I am greatful for any help, since I am new to boost.
>>
>> Thank you,
>> Ronny
>>
>> [1]:
>> using msvc ;
>>
>> use-project boost
>> : c:/boost_1_50_0 ;
>>
>> project spectraImport
>> : requirements
>> <library>/boost/filesystem//boost_filesystem
>> <library>/boost/regex//boost_regex
>> # disable autolinking
>> <define>BOOST_ALL_NO_LIB
>> : build-dir ../boost-build
>> ;
>>
>> exe spectraImport
>> : [ glob *.cpp ]
>> ;
>>
>> install ../boost-build : spectraImport ;
>>
>>
>> [2]:
>> C:\Users\Duke\My_Projects\boost_python\spectraImport\spectraimport>bjam
>> -d+2
>> Performing configuration checks
>>
>> - has_icu builds : no
>>
>> file ..\boost-build\msvc-9.0\debug\threading-multi\spectraImport.exe.rsp
>>
>> "..\boost-build\msvc-9.0\debug\threading-multi\Align.obj"
>> "..\boost-build\msvc-9.0\debug\threading-multi\averaging.obj"
>> "..\boost-build\msvc-9.0\debug\threading-multi\averagingmsms.obj"
>> "..\boost-build\msvc-9.0\debug\threading-multi\Import.obj"
>> "..\boost-build\msvc-9.0\debug\threading-multi\ReadRaw.obj"
>> "..\boost-build\msvc-9.0\debug\threading-multi\SIException.obj"
>> "..\boost-build\msvc-9.0\debug\threading-multi\spectraimport.obj"
>> "..\boost-build\msvc-9.0\debug\threading-multi\SpectraImportTools.obj"
>> "..\boost-build\msvc-9.0\debug\threading-multi\stdafx.obj"
>> "..\boost-build\msvc-9.0\debug\threading-multi\Tolerance.obj"
>> "C:\boost_1_50_0\bin.v2\libs\regex\build\msvc-9.0\debug\threading-multi\boost_regex-vc90-mt-gd-1_50.lib"
>> "C:\boost_1_50_0\bin.v2\libs\system\build\msvc-9.0\debug\threading-multi\boost_system-vc90-mt-gd-1_50.lib"
>> "C:\boost_1_50_0\bin.v2\libs\filesystem\build\msvc-9.0\debug\threading-multi\boost_filesystem-vc90-mt-gd-1_50.lib"
>> msvc.link ..\boost-build\msvc-9.0\debug\threading-multi\spectraImport.exe
>>
>> 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%
>>
>> LINK : fatal error LNK1104: cannot open file
>> 'libboost_regex-vc90-mt-gd-1_50.lib
>>
>
>
> Hi,
>
> the build tell you that 'libboost_regex-vc90-mt-gd-1_50.lib is not
> found. Has the regex library been build in build-dir?
> Vicente
>
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Hi Vicente,
thank you for you answer.
The library was build and stored under
c:\boost_1_50_0\bin.v2\libs\..\boost_regex_vc90-mt-gd-1_50.lib It is
also stored in c:\boost_1_50_0\stage\libs. From my understanding this
are the standard paths for boost to store the built libraries.
Ronny
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