Open andrewjholbrook opened 5 years ago
Currently resorting to running
dotR <- file.path(Sys.getenv("HOME"), ".R") if (!file.exists(dotR)) dir.create(dotR) M <- file.path(dotR, "Makevars.win") if (!file.exists(M)) file.create(M) cat("\nCXX14FLAGS=-O3", "CXX14 = $(BINPREF)g++ -m$(WIN) -std=c++1y", "CXX11FLAGS=-O3", file = M, sep = "\n", append = TRUE)
before a build. Will try to find another way.
Error reads
C++14 standard requested but CXX14 undefined
.Following https://github.com/stan-dev/rstantools/issues/40, we might need to add Windows toggle in
configure
specifyingCXX14="$(BINPREF)g++ $(M_ARCH)"