Error in compileCode(f, code, language = language, verbose = verbose) Compilation ERROR, function(s)/method(s) not created! g++.exe: error

Try

which has a fixed link to the StanHeaders package.