OHDSI / RcppXsimd

R package wrapper for the C++ header-only library Xsimd that provides parallelized math implementations using SIMD
Other
12 stars 0 forks source link

Windows installation error #1

Open andrewjholbrook opened 5 years ago

andrewjholbrook commented 5 years ago

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 specifying

CXX14="$(BINPREF)g++ $(M_ARCH)"

andrewjholbrook commented 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.