This is the same as the issue over in this thread: Error in compileCode(f, code, language = language, verbose = verbose) : Compilation ERROR, function(s)/method(s) not created! Again
It looks like there’s an issue with the call to the linker statement missing the TBB and StanHeaders flags