Compiler and build tool problems

I was running a bunch of models in Brms that were running well. I then updated R to 4.3.1 and Rstudio to the latest versions and now the models won’t run.

Every time I attempt to run the model now a popup window appears saying

"Building R package from source requires installation of additional build tools.

Do you want to install the additional tools now?"

I have tried clicking ok and cancel and both result in the error:

Error in compileCode(f, code, language = language, verbose = verbose) : /usr/local/clang7/include/c++/v1/cstdlib:119:9: error: no member named ‘strtoul’ in the global namespaceusing ::strtoul; ~~^fatal error: too many errors emitted, stopping now [-ferror-limit=]20 errors generated.make: *** [file1d036a27f010.o] Error 1

I think it is a compiler issue but I honestly don’t have a clue. I have redownloaded R studio, R, Stan, and Xcode, and updated my Mac to Ventura. I don’t know what is going wrong.

1 Like

Having the same problem over here on a Monterey OS mac