GCC compilation error on zsh

Hello, I get GCC compilatiom error in cursor terminal using zsh, this is weird

Hi @zhoujingya

To fix your issue, follow these steps:

  1. Check if the paths to your compiler are set correctly in Cursor
  2. Try reinstalling any missing packages, especially cc1

Here’s some extra help on this topic: C++ programming with Visual Studio Code

Hi @deanrie
I test in VScode too, in vscode zsh shell, gcc compiler works

Give this solution a try:

solved by "unknown proxy name: 'Cursor'" when using rust · Issue #549 · getcursor/cursor · GitHub