MacOS

After Installing Visual Studio Code, the following additional dependencies are required for Mac devices.

  1. Make sure that Visual Studio Code is not open before you proceed.
  2. Download the latest Proteus dependency installer for Mac.
  3. Open the Proteus_Dependency_Installer_Mac.dmg file by double clicking it. Then double click on install.command.
    • If you are not running a zsh shell (which you can check by running echo $0 and seeing if it says zsh or something else) you will need to manually permanently add “Application/FEH_ARM/bin” to the $PATH variable.
  4. Open a terminal in VS Code, shown below.

    Figure 1: Opening a Terminal in Visual Studio Code.

  5. Type xcode-select --install. This will install the necessary software, git and g++. If you receive an error that says “command line tools are already installed”, you already have the necessary software and can move to the next step. Otherwise, wait for the command to finish (it may take a couple minutes).
  6. All Proteus compilation dependencies are now installed! You may need to restart your computer before compiling a project in VS Code.

 

continue to Compiling and Running a Project