Terminal and Coding Errors since updating to MacOS Ventura

Hello All; I've just recently updated to MacOS Ventura, and have since had errors in all my methods for coding.

In VS Code, I'm currently facing errors that resemble the first image. I currently have Xcode Command Line Tools installed, and encounter the same error message with all files I've tried.

Secondly, the terminal now only displays the error seen in the second message. I'm assuming there is a problem with my compiler path, though I wanted to ask here, as I have been unsuccessful in finding anything.

Any advice is appreciated, thanks!

In VS Code, I'm currently facing errors that resemble the first image.

In situations like I recommend that you create a small test program and compile it in Terminal. For example:

% cat hello.c 
#include <stdio.h>

int main(int argc, char ** argv) {
    fprintf(stderr, "Hello Cruel World!\n");
    return 0;
}
% clang hello.c
% ./a.out 
Hello Cruel World!

Does that work?

If so, you know that your command-line compiler and linker are working properly, and so the issue you’re seeing is related to how your third-party development environment is invoking them. If that’s the case, my advice is that you escalate that via the support channel for that tool.


Secondly, the terminal now only displays the error seen in the second message.

Are you referring to the Terminal app is macOS? Or a terminal window within some other app?

I suspect it’s the latter, in which case it seems to be weirdly configured. /bin/bash is a file, the Bash executable itself, and so /bin/bash/users doesn’t make sense.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Terminal and Coding Errors since updating to MacOS Ventura
 
 
Q