stan icon indicating copy to clipboard operation
stan copied to clipboard

`install-tbb.bat` fails on windows

Open fisher-j opened this issue 2 years ago • 0 comments

Summary:

After building on windows, install-tbb.bat fails with an error:

ERROR: Invalid syntax. Default option is not allowed more than '2' time(s).

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

fisher-j avatar Dec 02 '23 01:12 fisher-j