I am trying to install rstan with R 4.0 on windows 10, and can’t get stan to compile models. My error message seems to be related to tbb, but I can’t really make heads or tails of it.
rstan version is 2.21.2, StanHeaders is 2.21.0-7
I’ve attached the full output from calling
example(stan_model, package = "rstan", run.dontrun = TRUE) but I think the meat of the error is undefined reference to tbb::internal::task_scheduler_observer_v3::observe(bool)
My makevars file is set to
CXX14FLAGS=-O3 -mtune=native -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 CXX11FLAGS=-O3 -mtune=native -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2
rstan_example_log.txt (37.0 KB)