Opened 5 years ago
Closed 5 years ago
#13197 closed Bugs (fixed)
bootstrap canot find yyacc.c
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | Boost 1.66.0 | Component: | Building Boost |
Version: | Boost 1.65.0 | Severity: | Problem |
Keywords: | Cc: |
Description
When running bootstrap, yyacc.c cannot be found
windows 10 visual studio 2017 community
Attachments (1)
Change History (12)
by , 5 years ago
Attachment: | bootstrap.log added |
---|
comment:1 by , 5 years ago
comment:3 by , 5 years ago
Based on this thread: https://github.com/boostorg/build/issues/236#issuecomment-330475306
1) Find where is your vcvarsall.bat file (in my case it is: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build"). 2) In cmd, cd to this directory. 3) Execute: "set VSCMD_START_DIR=%CD%" . 4) Go into boost directory, execute bootstrap. 5) Execute: "set VSCMD_START_DIR=" (be sure there is no space after =). 6) Execute b2 with parameters You need.
comment:4 by , 5 years ago
Sorry, made a mistake in previous comment. (can admin delete it?)
First two steps are incorect. It should go like this:
1) cd to "<boost base directory>\tools\build\src\engine"
2) Execute: "set VSCMD_START_DIR=%CD%"
3) cd to "<boost base directory>"
4) Execute: bootstrap
5) Execute: "set VSCMD_START_DIR=" (be sure there is no space after =)
6) Execute: b2
(based on solution: https://github.com/boostorg/build/issues/236#issuecomment-330475306)
follow-up: 6 comment:5 by , 5 years ago
I found that step 3 needed to be:
3) cd to "<boost base directory>\tools\build"
comment:6 by , 5 years ago
Replying to anonymous:
I found that step 3 needed to be:
3) cd to "<boost base directory>\tools\build"
My mistake! This comment was wrong. Sorry for the misinformation.
comment:7 by , 5 years ago
amazing! really really thank you for this, I really apreciate this and I hope a lot of people will.
comment:9 by , 5 years ago
simply it does:
1, cmd.exe 2, cd "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build" 3, vcvars64.bat 4, cd C:\boost_1651 (that is where i unpack boost) 5, bootstrap.bat 6, b2.exe
comment:10 by , 5 years ago
1, cmd.exe
2, cd "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build"
3, vcvars64.bat
4, cd C:\boost_1651 (that is where i unpack boost)
5, bootstrap.bat
6, b2.exe
comment:11 by , 5 years ago
Milestone: | To Be Determined → Boost 1.66.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I have exactly the same issue.
Microsoft Visual Studio Community 2017, version 15.3.3 (newest at 2017.09.11) Boost 1.65.1