-
Notifications
You must be signed in to change notification settings - Fork 0
04 Install required packages
The following list outlines the steps you'll need to complete. Be sure to follow the steps for your computer operating system.
- Install Visual Studio Code.
- Install the required libraries.
Complete the following steps:
- If you have not done so already, then install Windows Subsystem for Linux (WSL2) and Ubuntu 20.04.
- Optional, but recommended, install the Windows Terminal
The Altair project requires the following packages:
- libuv event loop library.
- SSL development library required for the Azure IoT SDK C.
- OSSP uuid library required for the Azure IoT SDK C.
- C compiler and debugging tools.
Follow these steps to install the required packages.
-
Open an WSL Ubuntu Terminal window.
-
Run the following command to install the required packages
sudo apt-get install -y libuv1-dev cmake build-essential gdb curl libcurl4-openssl-dev libssl-dev uuid-dev ca-certificates git clang libgpiod-dev gpiod
Follow these steps to install the required packages.
-
Open a Terminal window.
-
Run the following command to install the required packages
sudo apt-get install -y libuv1-dev cmake build-essential gdb curl libcurl4-openssl-dev libssl-dev uuid-dev ca-certificates git clang libgpiod-dev gpiod
-
Install Xcode command line tools
xcode-select --install
-
Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Open a Terminal window.
-
Run the following command to install the required packages.
brew install libuv openssl ossp-uuid
-
From your desktop computer, start an SSH session to your Raspberry Pi.
-
From the SSH session, run the following command to install the required packages
sudo apt-get install -y libuv1-dev cmake build-essential gdb curl libcurl4-openssl-dev libssl-dev uuid-dev ca-certificates git clang libgpiod-dev gpiod
- Install Visual Studio Code.
- Install CMake Tools
- Install C/C++
- Install the Visual Studio Code CodeLLDB extension
- Install the Remote-WSL extension if building solution with Windows Subsystem for Linux.
- Install the Remote-SSH extension if building solution on a remore Linux device including Raspberry Pi.