Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'stage' parameter for building the boost: "don't know how to make <e>stage"

Tags:

c++

windows

boost

I am trying to install boost v.1.54 on windows 7(Version 6.1.7601). The cygwin with mingw, gcc and g++ compilers are installed.

I need to use the 'stage' parameter for building the boost; however it produces the following error:

C:\boost\tools\build\v2>b2 --prefix="C:\boost_build" toolset=gcc  --build type=complete gcc stage
notice: could not find main target stage
notice: assuming it is a name of file to create.
don't know how to make <e>stage
...found 1 target...
...can't find 1 target...

C:\boost\tools\build\v2>

So far I have received NO reply from the boost-build community. I appreciate if you could point me to the right direction.


Additional comments:

  • I am using the windows command prompt and gcc/g++ compiler are in the path and tested before.
  • I ran bootstrap before the build command.
  • I am running the commands from the "boost\tools\build\v2" as it's been stated by the guideline.
  • The build procedure without the 'stage' option parameter is successful.
like image 772
Mohsen Mesgarpour Avatar asked Oct 03 '22 00:10

Mohsen Mesgarpour


1 Answers

I believe the correct solution to this problem is to run your command, with dash in --build-type, from the C:\boost folder, not the C:\boost\tools\build\v2 folder. Hope that helps.

like image 129
JHowIX Avatar answered Oct 19 '22 19:10

JHowIX