Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-09-28 05:22:39


On Wednesday 28 September 2005 14:09, Bojan Resnik wrote:
> I've been using Boost Build that came with Boost 1.33, but today I
> thought I'd try the CVS version. I have both MSVC 6 and MSVC 7.1 on my
> machine, and the following in user-config.jam:
> using msvc : 6 ;
> using msvc : 7.1 ;
>
> Neither of these compilers is in PATH, and the 1.33 version worked
> fine with either of them, properly detecting the right paths. I was
> just running a plain "bjam --v2" command with both BB versions.
>
> The CVS version complains about the above setup stating
>
> warning: toolset msvc initialization: can't find tool cl.exe
> warning: initialized from

Can you check if have the following registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual
C++"\ProductDir

and

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Setup\VC\ProductDir

Also, how did you install the compilers? With regular install?

>
> If I manually add the path to cl.exe in user-config.jam, the build
> starts, but the compiler complaints about some command line arguments.
> Apparently the /Wp64 and /wd4675 arguments are not recognized by MSVC6
> compiler. If these two are removed, then it complaints:
>
> Command line error D2016 : '/Ze' and '/Za' command-line options are
> incompatible
>
> Although there is no mention of either /Ze or /Za in the command line.

I'm at lost. Anybody has an idea?

- Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build V2: http://boost.org/boost-build2
 

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