Boost C++ Libraries: Ticket #11978: Bootstrap generates errors https://svn.boost.org/trac10/ticket/11978 <p> Running bootstrap results in an error: "'cl' not recognized as an internal or external command, operable program or batch file". </p> <p> Upon searching the bug reports, I found: "bootstrap.bat mingw", which should have solved the problem. It did, but I got the same error for 'gcc', instead of 'cl' and couldn't find a way to fix that one. </p> <p> Is there anything I can do / should change to get this to work? </p> <p> I'm executing the file as administrator in the "Developer Command Prompt for VS2015". </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11978 Trac 1.4.3 Steven Watanabe Sat, 13 Feb 2016 21:30:01 GMT <link>https://svn.boost.org/trac10/ticket/11978#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11978#comment:1</guid> <description> <p> If you try running cl directly does it work? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 15 Feb 2016 07:33:24 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11978#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11978#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/11978#comment:1" title="Comment 1">steven_watanabe</a>: </p> <blockquote class="citation"> <p> If you try running cl directly does it work? </p> </blockquote> <p> How do I run cl directly? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Mon, 15 Feb 2016 16:18:10 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11978#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11978#comment:3</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/11978#comment:2" title="Comment 2">anonymous</a>: </p> <blockquote class="citation"> <p> How do I run cl directly? </p> </blockquote> <p> Open the developer command prompt and type cl. This is just to check whether your vs2015 installation is functional. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Tue, 16 Feb 2016 07:46:32 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11978#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11978#comment:4</guid> <description> <p> That runs correctly. </p> <p> Running gcc does not work, though. It's not recognized as a command. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Tue, 16 Feb 2016 15:12:37 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11978#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11978#comment:5</guid> <description> <p> Okay, so what are the full contents of bootstrap.log? Are you using 1.60 or a different version of Boost. </p> </description> <category>Ticket</category> </item> <item> <author>bram.de.beer@…</author> <pubDate>Tue, 16 Feb 2016 16:18:16 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11978#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11978#comment:6</guid> <description> <p> The full contents of bootstrap.log are below. I'm using 1.60.0. </p> <p> Is there any test I can do to see if it has installed correctly? I didn't see any errors in the log, but I don't know what the log is supposed to say... </p> <p> Are there maybe other compilers I could install to get me to where I need to be? I have no clue what is installed on my PC, since it's a new laptop with the company image on it. </p> <hr /> <p> ### ### Using 'vc14' toolset. ### </p> <p> C:\Boost\boost_1_60_0\tools\build\src\engine&gt;if exist bootstrap rd /S /Q bootstrap </p> <p> C:\Boost\boost_1_60_0\tools\build\src\engine&gt;md bootstrap </p> <p> C:\Boost\boost_1_60_0\tools\build\src\engine&gt;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 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 Generating Code... Compiling... 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 Generating Code... Compiling... native.c set.c path.c regex.c property-set.c sequence.c order.c Generating Code... </p> <p> C:\Boost\boost_1_60_0\tools\build\src\engine&gt;.\bootstrap\jam0 -f build.jam --toolset=vc14 "--toolset-root=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\..\..\VC\ " clean ...found 1 target... ...updating 1 target... ...updated 1 target... </p> <p> C:\Boost\boost_1_60_0\tools\build\src\engine&gt;.\bootstrap\jam0 -f build.jam --toolset=vc14 "--toolset-root=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\..\..\VC\ " ...found 159 targets... ...updating 2 targets... [COMPILE] bin.ntx86\b2.exe command.c compile.c constants.c debug.c execcmd.c frames.c function.c glob.c hash.c hcache.c headers.c hdrmacro.c jam.c jambase.c jamgram.c lists.c make.c make1.c mem.c object.c Compiling... option.c output.c parse.c pathsys.c regexp.c rules.c scan.c search.c subst.c w32_getreg.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c class.c cwd.c native.c md5.c Compiling... set.c path.c regex.c property-set.c sequence.c order.c execnt.c filent.c pathnt.c Generating code Finished generating code [COPY] bin.ntx86\bjam.exe ...updated 2 targets... </p> <p> C:\Boost\boost_1_60_0\tools\build\src\engine&gt;exit /b 0 </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Tue, 16 Feb 2016 17:47:20 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11978#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11978#comment:7</guid> <description> <p> So, I'm confused. bootstrap looks like it worked, so where are you getting an error? </p> </description> <category>Ticket</category> </item> <item> <author>bram.de.beer@…</author> <pubDate>Wed, 17 Feb 2016 07:47:19 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11978#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11978#comment:8</guid> <description> <p> I was wondering that too :) </p> <p> I just realized this is the bootstrap log from the prebuilt binaries, with which I had less problems installing. It, of course, overwrote the bootstrap log of my original install. </p> <p> Question still remains how I can get cl and gcc to work on my computer, but I guess that's not your problem. :) </p> <p> Thanks for your help. I guess installing the prebuilt binaries didn't actually solve my problem, but did sidestep it for this particular install. </p> </description> <category>Ticket</category> </item> </channel> </rss>