Search code examples
c++boostbuild

(boost C++ library) bootstrap.bat: ''Web' is not recognized as an internal or external command'


I am currently trying to build boost for visual studio 2019 (64 bit), however, when I run bootstrap.bat from both the visual studio terminal and the windows command prompt, I get the error as mentioned in the title.

Here are some screenshots: visual studio terminal windows command prompt

Please note this is my first post on stack overflow so sorry if I haven't done something correctly. Thank you for reading this and taking the effort to help.


Solution

  • For some reason boost does not like your current path. Either because of the & symbol or spaces. Try moving it to a more canonical path C:\boost_1_75_0