Errors building CVS root sources with VC8
I have just done a checkout boost from cvs.sourceforge.net and tried to build with VC8 (cl version 14.0.40607.16) and Microsoft Platform SDK for Windows XP SP2, using the following commands: tools\build\jam_src\build.bat tools\build\jam_src\bin.ntx86\bjam "-sTOOLS=vc-8_0" This resulted in lots of these warnings: option 'Og' has been deprecated option 'Gs' has been deprecated ignoring unknown option '/MLd' ignoring unknown option '/ML' I read that Jam V2 should fix those, but I cannot see how to build it. More serious was the following compilation error: lexical_cast.hpp(150): error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'std::basic_string<_Elem,_Traits,_Ax>' That file hasn't changed since last September, so am I wasting my time trying to use VC8? Thanks, Keith MacDonald
"Keith MacDonald"
I have just done a checkout boost from cvs.sourceforge.net and tried to build with VC8 (cl version 14.0.40607.16) and Microsoft Platform SDK for Windows XP SP2, using the following commands:
tools\build\jam_src\build.bat tools\build\jam_src\bin.ntx86\bjam "-sTOOLS=vc-8_0"
This resulted in lots of these warnings:
option 'Og' has been deprecated option 'Gs' has been deprecated ignoring unknown option '/MLd' ignoring unknown option '/ML'
I read that Jam V2 should fix those, but I cannot see how to build it.
There's no such thing as Jam V2. The bjam you built will work just fine with Boost.Build v2, which doesn't need to be built -- it's entirely contained in interpreted .jam files. -- Dave Abrahams Boost Consulting www.boost-consulting.com
None of build v2 documentation was in my cvs directory, so I installed
version 1.32 and found it there. After running vcvars32.bat for VC8, my
commands for building are now:
set PYTHON_ROOT=C:\Apps\Python23
set PYTHON_VERSION=2.3
set ICU_PATH=F:\Dev\icu-3.2
set INCLUDE=%INCLUDE%;"F:\Program Files\Microsoft Platform SDK for Windows
XP SP2\Include"
set LIB=%LIB%;"F:\Program Files\Microsoft Platform SDK for Windows XP
SP2\Lib"
tools\build\jam_src\bin.ntx86\bjam --v2 "-sTOOLS=vc-8_0"
Confusingly, that results in the following output:
warning: Python location is not configured
warning: the Boost.Python library won't be built
Building Boost.Regex with Unicode/ICU support enabled
Using ICU in F:\Dev\icu-3.2/include
warning: no toolsets are configured.
warning: you won't be able to build C++ programs.
warning: please consult the documentation.
...found 1 target...
Presumably, the "no toolsets are configured" warning occurs because
vc-8_0-tools.jam does not exist under tools/build/v2. Please will you let
me know exactly what steps are required to build with Boost.Build v2. Also,
will that fix the compilation error in lexical_cast.hpp?
Thanks,
Keith MacDonald
"David Abrahams"
There's no such thing as Jam V2. The bjam you built will work just fine with Boost.Build v2, which doesn't need to be built -- it's entirely contained in interpreted .jam files. -- Dave Abrahams Boost Consulting www.boost-consulting.com
"Keith MacDonald"
None of build v2 documentation was in my cvs directory, so I installed version 1.32 and found it there.
Since v2 is still in a pre-release state, you're much better off using the current CVS state of its documentation: http://tinyurl.com/4fkr5 (http://www.meta-comm.com/engineering/resources/cs-win32_metacomm/doc/html/bb...)
After running vcvars32.bat for VC8, my commands for building are now:
set PYTHON_ROOT=C:\Apps\Python23 set PYTHON_VERSION=2.3 set ICU_PATH=F:\Dev\icu-3.2 set INCLUDE=%INCLUDE%;"F:\Program Files\Microsoft Platform SDK for Windows XP SP2\Include" set LIB=%LIB%;"F:\Program Files\Microsoft Platform SDK for Windows XP SP2\Lib" tools\build\jam_src\bin.ntx86\bjam --v2 "-sTOOLS=vc-8_0" ^^^^^^^^^^^^^^^^ This is not appropriate when using Boost.Build v2
Confusingly, that results in the following output:
warning: Python location is not configured warning: the Boost.Python library won't be built Building Boost.Regex with Unicode/ICU support enabled Using ICU in F:\Dev\icu-3.2/include warning: no toolsets are configured. warning: you won't be able to build C++ programs. warning: please consult the documentation. ...found 1 target...
Presumably, the "no toolsets are configured" warning occurs because vc-8_0-tools.jam does not exist under tools/build/v2.
No, it's because you haven't set up user-config.jam or site-config.jam as described in http://tinyurl.com/6tsog
Please will you let me know exactly what steps are required to build with Boost.Build v2.
Unfortunately, I'm not 100% sure what's needed; Volodya, can you help out?
Also, will that fix the compilation error in lexical_cast.hpp?
Doubtful. -- Dave Abrahams Boost Consulting www.boost-consulting.com
David Abrahams wrote:
Presumably, the "no toolsets are configured" warning occurs because vc-8_0-tools.jam does not exist under tools/build/v2.
No, it's because you haven't set up user-config.jam or site-config.jam as described in http://tinyurl.com/6tsog
Please will you let me know exactly what steps are required to build with Boost.Build v2.
Unfortunately, I'm not 100% sure what's needed; Volodya, can you help out?
For Linux: 1. Add "using gcc ; " to user-config.jam 2. Go to boost root and run bjam install or bjam --with-thread install In fact, except for differences in specifying the toolset (see http://boost.org/boost-build2/doc/html/bbv2/advanced/differences_to_v1.html#...) the command line is the same as for V1: http://boost.org/more/getting_started.html#step5 HTH, Volodya
At Monday 2005-03-21 02:56, you wrote:
I have just done a checkout boost from cvs.sourceforge.net and tried to build with VC8 (cl version 14.0.40607.16) and Microsoft Platform SDK for Windows XP SP2, using the following commands:
tools\build\jam_src\build.bat tools\build\jam_src\bin.ntx86\bjam "-sTOOLS=vc-8_0"
This resulted in lots of these warnings:
option 'Og' has been deprecated option 'Gs' has been deprecated ignoring unknown option '/MLd' ignoring unknown option '/ML'
I read that Jam V2 should fix those, but I cannot see how to build it.
More serious was the following compilation error:
lexical_cast.hpp(150): error C2679: binary '>>' : no operator found which takes a right-hand operand of type 'std::basic_string<_Elem,_Traits,_Ax>'
That file hasn't changed since last September, so am I wasting my time trying to use VC8?
I checkout and build boost 4 times a day when running the regression tests. I'm using a somewhat later version of VC8.0 ( http://www.meta-comm.com/engineering/boost-regression/cvs-head/developer/sum... ), click on RudbekAssociates for more details. I just checked my latest log and do NOT see that error.
Thanks, Keith MacDonald
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
participants (4)
-
David Abrahams
-
Keith MacDonald
-
Victor A. Wagner Jr.
-
Vladimir Prus