Home Conventions Setting Up a Programming Environment Mac

Space Cookies Team 1868
Programming Resources

Setting Up a Programming Environment Mac (2022 Fall)

These are the MacOS instructions. If you get stuck, ping the programming slack channel and include the log.txt file that if there are script failures. PLEASE ATTEMPT TO INSTALL AT HOME AND AT LEAST DOWNLOAD THE FRCLibResoures2022Mac.zip BEFORE COMING TO LAB. DO NOT WAIT UNTIL THE LAST MINUTE! It may take 2-3 hours.

Before starting:

This instruction set will install the 2022 resources for:

Additionally, the following command line and version control utilities will also be installed:

Initial instructions (Bare minimum before lab)

VSCode & WPILIB

Installs WPILib 2022.4.1 with VSCode 1.63.2.

  1. In ~/Downloads/FRCLibResoures2022Mac, open WPILib_macOS-2022.4.1.dmg to mount the installer
  2. Open the WPILibInstaller
  3. Inside the installer
  4. Click Finish and move the shortcut to the dock.

Install Xcode

  1. Navigate to Xcode Developer Tools in the app store
  2. Follow the App Store instructions to install Xcode Developer Tools

3rd party WPILib libraries

  1. Open a terminal
  2. Navigate to the unzipped and downloaded resources
  3. cd ~/Downloads/FRCLibResoures2022Mac
  4. Run the install script
  5. ./frc_install.sh

Install VSCode plugins

  1. Open VSCode
  2. Select Extensions from the left navigation bar
  3. Search for xaver.clang-format
  4. Install the Clang-Format extension