Compilation error with brms

Operating System: Windows 7 Professional (64-bit)
Interface Version: R (3.6.0), brms (2.9.0)
Compiler/Toolkit: I don’t know what this refers to
RTools version is 3.5.

#Create a simple mock dataset
(100 -> nbig)
(1 -> nsmall)
d <- data.frame(Effect = c("0None", "1PositiveLarge", "2NegativeLarge", "3PositiveSmall", "4NegativeSmall"), 
                y = c(nbig/2, nbig-1, 1, nsmall, 0),
                n = c(nbig,nbig,nbig,nsmall,nsmall)); d$p <- d$y/d$n; d

#Fit a simple binary model with no intercept
require(brms)
modb.uni  <- brm(y|trials(n) ~-1 + Effect, family = binomial("logit"), data = d, prior(uniform(-5, 5), lb = -5, ub = 5, class = b), warmup = 1000, iter = 26000)

Compiling the C++ model

So far so good. But then:

Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! Error in .shlib_internal(commandArgs(TRUE)) :
C++14 standard requested but CXX14 is not defined
Calls: -> .shlib_internal
Execution halted
In addition: Warning message:
In system(cmd, intern = !verbose) :

Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! Error in .shlib_internal(commandArgs(TRUE)) :
C++14 standard requested but CXX14 is not defined
Calls: -> .shlib_internal
Execution halted

Error in sink(type = “output”) : invalid connection

Any idea what’s going on?

Please have a look here:

Thanks. I posted my follow-up to the original thread. I hope that was the right thing to do.