1 |
|
---|
2 |
|
---|
3 | c:\temp\boost_1_67_0\boost_1_67_0>bootstrap.bat
|
---|
4 | Building Boost.Build engine
|
---|
5 |
|
---|
6 | Failed to build Boost.Build engine.
|
---|
7 | Please consult bootstrap.log for further diagnostics.
|
---|
8 |
|
---|
9 | c:\temp\boost_1_67_0\boost_1_67_0>cat bootstrap.bat
|
---|
10 | @ECHO OFF
|
---|
11 |
|
---|
12 | SETLOCAL
|
---|
13 |
|
---|
14 | REM Copyright (C) 2009 Vladimir Prus
|
---|
15 | REM
|
---|
16 | REM Distributed under the Boost Software License, Version 1.0.
|
---|
17 | REM (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
|
---|
18 |
|
---|
19 | ECHO Building Boost.Build engine
|
---|
20 | if exist ".\tools\build\src\engine\bin.ntx86\b2.exe" del tools\build\src\engine\bin.ntx86\b2.exe
|
---|
21 | if exist ".\tools\build\src\engine\bin.ntx86\bjam.exe" del tools\build\src\engine\bin.ntx86\bjam.exe
|
---|
22 | if exist ".\tools\build\src\engine\bin.ntx86_64\b2.exe" del tools\build\src\engine\bin.ntx86_64\b2.exe
|
---|
23 | if exist ".\tools\build\src\engine\bin.ntx86_64\bjam.exe" del tools\build\src\engine\bin.ntx86_64\bjam.exe
|
---|
24 | pushd tools\build\src\engine
|
---|
25 |
|
---|
26 | call .\build.bat %* > ..\..\..\..\bootstrap.log
|
---|
27 | @ECHO OFF
|
---|
28 |
|
---|
29 | popd
|
---|
30 |
|
---|
31 | if exist ".\tools\build\src\engine\bin.ntx86\bjam.exe" (
|
---|
32 | copy .\tools\build\src\engine\bin.ntx86\b2.exe . > nul
|
---|
33 | copy .\tools\build\src\engine\bin.ntx86\bjam.exe . > nul
|
---|
34 | goto :bjam_built)
|
---|
35 |
|
---|
36 | if exist ".\tools\build\src\engine\bin.ntx86_64\bjam.exe" (
|
---|
37 | copy .\tools\build\src\engine\bin.ntx86_64\b2.exe . > nul
|
---|
38 | copy .\tools\build\src\engine\bin.ntx86_64\bjam.exe . > nul
|
---|
39 | goto :bjam_built)
|
---|
40 |
|
---|
41 | goto :bjam_failure
|
---|
42 |
|
---|
43 | :bjam_built
|
---|
44 |
|
---|
45 | REM Ideally, we should obtain the toolset that build.bat has
|
---|
46 | REM guessed. However, it uses setlocal at the start and does not
|
---|
47 | REM export BOOST_JAM_TOOLSET, and I don't know how to do that
|
---|
48 | REM properly. Default to msvc if not specified.
|
---|
49 |
|
---|
50 | SET TOOLSET=msvc
|
---|
51 |
|
---|
52 | IF "%1"=="gcc" SET TOOLSET=gcc
|
---|
53 |
|
---|
54 | IF "%1"=="vc71" SET TOOLSET=msvc : 7.1
|
---|
55 | IF "%1"=="vc8" SET TOOLSET=msvc : 8.0
|
---|
56 | IF "%1"=="vc9" SET TOOLSET=msvc : 9.0
|
---|
57 | IF "%1"=="vc10" SET TOOLSET=msvc : 10.0
|
---|
58 | IF "%1"=="vc11" SET TOOLSET=msvc : 11.0
|
---|
59 | IF "%1"=="vc12" SET TOOLSET=msvc : 12.0
|
---|
60 | IF "%1"=="vc14" SET TOOLSET=msvc : 14.0
|
---|
61 | IF "%1"=="vc141" SET TOOLSET=msvc : 14.1
|
---|
62 |
|
---|
63 | ECHO import option ; > project-config.jam
|
---|
64 | ECHO. >> project-config.jam
|
---|
65 | ECHO using %TOOLSET% ; >> project-config.jam
|
---|
66 | ECHO. >> project-config.jam
|
---|
67 | ECHO option.set keep-going : false ; >> project-config.jam
|
---|
68 | ECHO. >> project-config.jam
|
---|
69 |
|
---|
70 | ECHO.
|
---|
71 | ECHO Bootstrapping is done. To build, run:
|
---|
72 | ECHO.
|
---|
73 | ECHO .\b2
|
---|
74 | ECHO.
|
---|
75 | ECHO To adjust configuration, edit 'project-config.jam'.
|
---|
76 | ECHO Further information:
|
---|
77 | ECHO.
|
---|
78 | ECHO - Command line help:
|
---|
79 | ECHO .\b2 --help
|
---|
80 | ECHO.
|
---|
81 | ECHO - Getting started guide:
|
---|
82 | ECHO http://boost.org/more/getting_started/windows.html
|
---|
83 | ECHO.
|
---|
84 | ECHO - Boost.Build documentation:
|
---|
85 | ECHO http://www.boost.org/build/doc/html/index.html
|
---|
86 | ECHO.
|
---|
87 |
|
---|
88 | goto :end
|
---|
89 |
|
---|
90 | :bjam_failure
|
---|
91 |
|
---|
92 | ECHO.
|
---|
93 | ECHO Failed to build Boost.Build engine.
|
---|
94 | ECHO Please consult bootstrap.log for further diagnostics.
|
---|
95 | ECHO.
|
---|
96 |
|
---|
97 | REM Set an error code to allow `bootstrap && b2`
|
---|
98 | cmd /c exit /b 1 > nul
|
---|
99 |
|
---|
100 | :end
|
---|
101 |
|
---|
102 | c:\temp\boost_1_67_0\boost_1_67_0>cat bootstrap.log
|
---|
103 | **********************************************************************
|
---|
104 | ** Visual Studio 2017 Developer Command Prompt v15.6.4
|
---|
105 | ** Copyright (c) 2017 Microsoft Corporation
|
---|
106 | **********************************************************************
|
---|
107 | [vcvarsall.bat] Environment initialized for: 'x86'
|
---|
108 | ###
|
---|
109 | ### Using 'vc141' toolset.
|
---|
110 | ###
|
---|
111 |
|
---|
112 | c:\temp\boost_1_67_0\boost_1_67_0\tools\build\src\engine>if exist bootstrap rd /S /Q bootstrap
|
---|
113 |
|
---|
114 | c:\temp\boost_1_67_0\boost_1_67_0\tools\build\src\engine>md bootstrap
|
---|
115 |
|
---|
116 | c:\temp\boost_1_67_0\boost_1_67_0\tools\build\src\engine>cl /nologo /RTC1 /Zi /MTd /Fobootstrap/ /Fdbootstrap/ -DNT -DYYDEBUG -wd4996 kernel32.lib advapi32.lib user32.lib /Febootstrap\jam0 command.c compile.c constants.c debug.c execcmd.c execnt.c filent.c frames.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathnt.c pathsys.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c md5.c class.c cwd.c w32_getreg.c native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c
|
---|
117 | command.c
|
---|
118 | compile.c
|
---|
119 | constants.c
|
---|
120 | debug.c
|
---|
121 | execcmd.c
|
---|
122 | execnt.c
|
---|
123 | filent.c
|
---|
124 | frames.c
|
---|
125 | function.c
|
---|
126 | glob.c
|
---|
127 | hash.c
|
---|
128 | hdrmacro.c
|
---|
129 | headers.c
|
---|
130 | jam.c
|
---|
131 | jambase.c
|
---|
132 | jamgram.c
|
---|
133 | lists.c
|
---|
134 | make.c
|
---|
135 | make1.c
|
---|
136 | object.c
|
---|
137 | Generating Code...
|
---|
138 | Compiling...
|
---|
139 | option.c
|
---|
140 | output.c
|
---|
141 | parse.c
|
---|
142 | pathnt.c
|
---|
143 | pathsys.c
|
---|
144 | regexp.c
|
---|
145 | rules.c
|
---|
146 | scan.c
|
---|
147 | search.c
|
---|
148 | subst.c
|
---|
149 | timestamp.c
|
---|
150 | variable.c
|
---|
151 | modules.c
|
---|
152 | strings.c
|
---|
153 | filesys.c
|
---|
154 | builtins.c
|
---|
155 | md5.c
|
---|
156 | class.c
|
---|
157 | cwd.c
|
---|
158 | w32_getreg.c
|
---|
159 | Generating Code...
|
---|
160 | Compiling...
|
---|
161 | native.c
|
---|
162 | set.c
|
---|
163 | path.c
|
---|
164 | regex.c
|
---|
165 | property-set.c
|
---|
166 | sequence.c
|
---|
167 | order.c
|
---|
168 | Generating Code...
|
---|
169 |
|
---|
170 | c:\temp\boost_1_67_0\boost_1_67_0\tools\build\src\engine>.\bootstrap\jam0 -f build.jam --toolset=vc141 "--toolset-root=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\..\..\VC\ " clean
|
---|
171 | ...found 1 target...
|
---|
172 | ...updating 1 target...
|
---|
173 | ...updated 1 target...
|
---|
174 |
|
---|
175 | c:\temp\boost_1_67_0\boost_1_67_0\tools\build\src\engine>.\bootstrap\jam0 -f build.jam --toolset=vc141 "--toolset-root=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\..\..\VC\ "
|
---|
176 | ...found 161 targets...
|
---|
177 | ...updating 3 targets...
|
---|
178 | [MKDIR] bin.ntx86
|
---|
179 | A subdirectory or file bin.ntx86 already exists.
|
---|
180 |
|
---|
181 | md "bin.ntx86"
|
---|
182 |
|
---|
183 | ...failed [MKDIR] bin.ntx86...
|
---|
184 | ...skipped b2.exe for lack of bin.ntx86...
|
---|
185 | ...skipped bjam.exe for lack of b2.exe...
|
---|
186 | ...failed updating 1 target...
|
---|
187 | ...skipped 2 targets...
|
---|
188 |
|
---|
189 | c:\temp\boost_1_67_0\boost_1_67_0\tools\build\src\engine>exit /b 1
|
---|
190 |
|
---|
191 | c:\temp\boost_1_67_0\boost_1_67_0>
|
---|