Skip to main content

Environment Setup

To develop plugins for Spectrum or integrate the SDK into your application, you need to set up a C++ development environment.

Prerequisites

1. Install Dependencies

# Update package list
sudo apt update

# Install build tools and compiler
sudo apt install -y build-essential git cmake ninja-build python3 curl unzip

# Install Bazel (optional, if building SDK from source)
sudo apt install -y bazel

# Install Vulkan SDK
wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.3.268-jammy.list https://packages.lunarg.com/vulkan/1.3.268/lunarg-vulkan-1.3.268-jammy.list
sudo apt update
sudo apt install -y vulkan-sdk

Automated Setup (Coming Soon)

We are working on a unified setup script to automate these steps.

# Placeholder for future setup script
python3 scripts/setup.py --all

Verify Installation

cmake --version
vulkaninfo