Open fisher-j opened 11 months ago
After building on windows, install-tbb.bat fails with an error:
install-tbb.bat
ERROR: Invalid syntax. Default option is not allowed more than '2' time(s).
I think that this is due to spaces in PATH entries.
PATH
Adding quotes around the argument to PATH fixed the problem for me.
Replaced this: setx Path %~dp0stan\lib\stan_math\lib\tbb;%OLD_SYSTEM_PATH%
setx Path %~dp0stan\lib\stan_math\lib\tbb;%OLD_SYSTEM_PATH%
with this: setx Path "%~dp0stan\lib\stan_math\lib\tbb;%OLD_SYSTEM_PATH%"
setx Path "%~dp0stan\lib\stan_math\lib\tbb;%OLD_SYSTEM_PATH%"
v2.33.0
Summary:
After building on windows,
install-tbb.bat
fails with an error:I think that this is due to spaces in
PATH
entries.Additional Information:
Adding quotes around the argument to
PATH
fixed the problem for me.Replaced this:
setx Path %~dp0stan\lib\stan_math\lib\tbb;%OLD_SYSTEM_PATH%
with this:
setx Path "%~dp0stan\lib\stan_math\lib\tbb;%OLD_SYSTEM_PATH%"
Current Version:
v2.33.0