Boost logo

Boost-Build :

From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2008-06-03 01:56:07


   Hi reisrocks.

> I've installed boost-build (latest version to date) but I get this
> problem when trying to run bjam on the hello example:
>
> ----------------------------
> ...found 10 targets...
> ...updating 6 targets...
> MkDir1 bin
> 'C:\DOCUME~1\TEMP\Local' is not recognized as an internal or external
> command, operable program or batch file.
>
> mkdir "bin"
>
> ...failed MkDir1 bin...

   Seems to me like something is 'wrong' in your system environment
causing Boost Build to issue an OS command containing spaced but without
quoting it. Please try the same example using the -d2 option and see if
that gives you and clues.

   I tries the same example (with the -d2 option) and here is what I got
(this is MSVC 7.1 on Windows XP SP3 with the current trunk version of
Boost build):

> C:\Documents and Settings\Jurko\Desktop\Boost_trunk\tools\build\v2\example\hello>bjam -d2
> ...found 10 targets...
> ...updating 6 targets...
> MkDir1 bin
>
> mkdir "bin"
>
> MkDir1 bin\msvc-7.1
>
> mkdir "bin\msvc-7.1"
>
> MkDir1 bin\msvc-7.1\debug
>
> mkdir "bin\msvc-7.1\debug"
>
> MkDir1 bin\msvc-7.1\debug\threading-multi
>
> mkdir "bin\msvc-7.1\debug\threading-multi"
>
>
> file bin\msvc-7.1\debug\threading-multi\hello.obj.rsp
> "hello.cpp"
> -Fo"bin\msvc-7.1\debug\threading-multi\hello.obj"
> -TP
> /Z7
> /Od
> /Ob0
> /W3
> /GR
> /MDd
> /Zc:forScope
> /Zc:wchar_t
> /GB
> /Op
> /wd4675
> /EHs
> -c
>
> compile-c-c++ bin\msvc-7.1\debug\threading-multi\hello.obj
>
> call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
> cl /Zm800 -nologo @"bin\msvc-7.1\debug\threading-multi\hello.obj.rsp"
>
> hello.cpp
>
> file bin\msvc-7.1\debug\threading-multi\hello.exe.rsp
>
> "bin\msvc-7.1\debug\threading-multi\hello.obj"
>
> msvc.link bin\msvc-7.1\debug\threading-multi\hello.exe
>
> call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat" >nul
> link /NOLOGO /INCREMENTAL:NO /DEBUG /subsystem:console /out:"bin\msvc-7.1\debug\threading-multi\hello.exe" @"bin\msvc-7.1\debug\threading-multi
> \hello.exe.rsp"
> if %ERRORLEVEL% NEQ 0 EXIT %ERRORLEVEL%
> if exist "bin\msvc-7.1\debug\threading-multi\hello.exe.manifest" (
> mt -nologo -manifest "bin\msvc-7.1\debug\threading-multi\hello.exe.manifest" "-outputresource:bin\msvc-7.1\debug\threading-multi\hell
> o.exe;1"
> )
>
> ...updated 6 targets...
>
> C:\Documents and Settings\Jurko\Desktop\Boost_trunk\tools\build\v2\example\hello>

   Hope this helps.

   Best regards,
     Jurko Gospodnetić


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