Opened 5 years ago

Closed 5 years ago

#13197 closed Bugs (fixed)

bootstrap canot find yyacc.c

Reported by: valenn4@… 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)

bootstrap.log (711 bytes ) - added by anonymous 5 years ago.

Download all attachments as: .zip

Change History (12)

by anonymous, 5 years ago

Attachment: bootstrap.log added

comment:1 by krunchfrompoland@…, 5 years ago

I have exactly the same issue.

Microsoft Visual Studio Community 2017, version 15.3.3 (newest at 2017.09.11) Boost 1.65.1

comment:2 by Matteo, 5 years ago

Same problem. Did you find any solution?

comment:3 by krunchfrompoland@…, 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 krunchfrompoland@…, 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)

comment:5 by anonymous, 5 years ago

I found that step 3 needed to be:

3) cd to "<boost base directory>\tools\build"

in reply to:  5 comment:6 by anonymous, 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 anonymous, 5 years ago

amazing! really really thank you for this, I really apreciate this and I hope a lot of people will.

comment:8 by anonymous, 5 years ago

It works! It works!! :)))

comment:9 by anonymous, 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 anonymous, 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 Jürgen Hunold, 5 years ago

Milestone: To Be DeterminedBoost 1.66.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.