Boost logo

Boost-Build :

Subject: Re: [Boost-build] really dumb boost build question
From: Robert Ramey (ramey_at_[hidden])
Date: 2016-01-26 21:00:51


On 1/26/16 3:38 PM, Steven Watanabe wrote:
> AMDG
>
> On 01/26/2016 03:35 PM, Robert Ramey wrote:
>>
>> "Steven Watanabe" <watanabesj_at_[hidden]> wrote in message
>> news:56A7F0BD.5010208_at_providere-consulting.com...
>>>
>>> On 01/26/2016 01:39 PM, Robert Ramey wrote:
>>>> <snip>
>>>> C:\modular-boost\libs\config\test\no_std_wstreambuf_pass.cpp(21) : fatal
>>>> error C1083: Cannot open include
>>>> file: 'boost/config.hpp': No such file or directory
>>>>
>>>> cmd.exe /S /C call "C:\Program Files\Microsoft Visual Studio
>>>> 9.0\VC\vcvarsall.bat" x86 ">nul" "&&" cl
>>>> /Zm800 -nologo
>>>> @"C:\modular-boost\bin.v2\libs\config\test\all\no_std_wstreambuf_pass.test\msvc-9.0\debug
>>>> \threading-multi\no_std_wstreambuf_pass.obj.rsp"
>>>>
>>>
>>> What does the .rsp file contain? My best guess is that
>>> something didn't convert cygwin paths to windows.
>>
>> $ cat
>> ../../../bin.v2/libs/filesystem/build/msvc-9.0/debug/threading-multi/windows_file_codecvt.obj.rsp
>> "C:\modular-boost\libs\filesystem\src\windows_file_codecvt.cpp" -Fo"C:\modular-boost\bin.v2\libs\filesystem\build\msvc-9.0\debug\threading-multi\windows_file_codecvt.obj"
>> -TP /Z7 /Od /Ob0 /W4 /GR /MDd /Zc:forScope /Zc:wchar_t /wd4675 /EHs -c
>> -DBOOST_ALL_NO_LIB=1
>> -DBOOST_FILESYSTEM_DYN_LINK=1
>> -DBOOST_SYSTEM_DYN_LINK=1
>> "-IC:\modular-boost\"$
>
> Huh. Maybe the trailing \ before the " is
> the problem? Can you try changing the
> last line to "-IC:\modular-boost" and
> then run the compiler command directly
> from the command line?
>
>> $ ls ../../../boost/config.hpp
>> ../../../boost/config.hpp
>> $ls "c:\\modular-boost\\boost\\config.hpp"
>> c:\modular-boost\boost\config.hpp
>> $

After some horsing around I managed to get run the command line as bjam
does it. So I got same error as above. Then I edited the *.rsp file to
remove the last \ from the "-IC:\modular-boost\" clause - and damn if it
didn't compile. (It compiled with a syntax error - I don't know if
that's a problem). Soooo it looks like your observation was spot on

Robert Ramey


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