4

I am trying to build Boost for using the filesystem library.

I understand that I must run bootstrap.bat (for Windows) to create a b2 application, that should I run after.

But I get this errors:

C:\Users\Andrei>D:\Info\include\boost_1_58_0\tools\build\bootstrap.bat
Bootstrapping the build engine
The system cannot find the path specified.
'.\build.bat' is not recognized as an internal or external command,
operable program or batch file.

Failed to bootstrap the build engine
Please consult bootstrap.log for furter diagnostics.

I haven't find build.bat or the log file..

How can I solve this problem ? I read that I must build it to get filesystem libs. It's this true ?

Thank you very much.

1 Answer 1

7

You should cd into the boost build directory before executing bootstrap.bat.

Try

cd D:\Info\include\boost_1_58_0\tools\build\
bootstrap.bat
5
  • You guys are awesome. Thank you ! So simple . Aug 10, 2015 at 12:34
  • I need 15 reputation :( . Aug 10, 2015 at 14:17
  • 1
    Oh, I didn't know. It's ok like that ? Aug 10, 2015 at 16:52
  • 1
    I'm using boost_1_66_0, and there are no tools directory... The folders here are just boost, doc, and libs... Then how to do it?
    – Hzzkygcs
    Apr 14, 2018 at 8:06
  • @Hzzkygcs try to follow the instruction: github.com/boostorg/wiki/wiki/… Jun 26, 2022 at 16:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.