GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • AetherSDR
  • Download
  • Log Analyzer
  • PDF manual
  • 26.11.4
  • Next (main)
  • Website
  • GitHub
  • Start Here
  • Your Radio
  • Your Computer
  • Operating
  • CW & Digital Modes
  • Connecting Other Software

This view

  • Original page
  • New address

GeezerVison is showing docs.aethersdr.com — Building from Source | AetherSDR Docs

Version: 26.11.4

Most operators should use the pre-built downloads on Installation. Build from source if you want to test a branch, develop AetherSDR, or package it for a distribution.

The authoritative instructions are in the repository and are kept current with every change. This page is a summary:

  • README: Building from Source: dependency lines and the quick build
  • docs/BUILDING.md: Windows 11 and macOS step-by-step, what each dependency enables, distro notes, GPU rendering and Wayland
  • BUILD-OPTIONS.md: every compile-time switch, its default and its prerequisites

Requirements​

Qt 6.12​

Every source build needs Qt 6.12, the same Qt every release is built with. Few distributions package it yet, so the repository provides a script that installs exactly the release Qt plus qtkeychain into a per-user cache that CMake finds on its own:

  • Linux and macOS: scripts/setup/setup-qt.sh
  • Windows: scripts\setup\setup-qt.ps1

The script checks your machine before downloading (about 2 GB): glibc 2.34+ on x86_64 or 2.38+ on aarch64, Xcode 16+ on macOS, a working python3 -m venv (on Debian, Ubuntu and Raspberry Pi OS: sudo apt install python3-venv) and enough free disk space. Re-running it is a no-op once Qt is installed. A distribution Qt that is already 6.12 or newer also works.

Machines the release Qt cannot support cannot build AetherSDR from source: Linux below those glibc versions, CPU architectures Qt publishes no binaries for, and Macs below macOS 14.5 (Xcode 16 needs 14.5).

Dependencies​

Everything except Qt and qtkeychain comes from the system. Copy the current line for your distribution from the README. It covers Arch / CachyOS / Manjaro, Debian / Ubuntu / Linux Mint, Fedora and macOS (Homebrew), and includes FFTW, RTL-SDR, PortAudio, hidapi, PipeWire and the X11/xcb libraries Qt's binaries need.

Optional libraries enable optional features; the build succeeds without them and the corresponding feature is left out. docs/BUILDING.md has the dependency-to-feature table.

On macOS, do not also install Homebrew's qt. Two Qt installations visible to CMake at once break the build.

Windows toolchain​

You need Visual Studio 2022 17.14 or newer with the C++ workload, CMake 3.25+, Ninja, Git and Python 3.

Setup​

Build on Linux and macOS​

git clone https://github.com/aethersdr/AetherSDR.git
cd AetherSDR
scripts/setup/setup-qt.sh # Qt 6.12 (cached per user) + qtkeychain
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build -j$(nproc)
./build/AetherSDR

macOS development identity​

A locally built app can use its own macOS permission identity while a downloaded release remains installed. Add -DAETHER_MACOS_ADHOC_SIGN=ON -DAETHER_MACOS_BUNDLE_IDENTIFIER=com.aethersdr.AetherSDR.dev when configuring your development build. Use a different identifier for each build you want macOS to treat as a separate app.

With development signing enabled, the complete AetherSDR target signs bundled helpers and libraries first, then signs and verifies the finished app bundle. Launch that .app with open -n /path/to/AetherSDR.app, then allow its Local Network request. The downloaded release keeps its own permissions. See macOS.

This option defaults to OFF and is only for ad-hoc local development signing. Production Apple signing, notarization and release CI use their existing workflow with this option disabled. Xcode retains its own signing path.

This uses an ad-hoc signature. macOS may ask for privacy or Keychain approval again after a rebuild; this does not provide a stable signing identity across builds. See Apple’s code-signing requirements.

The signing hook runs when the app links. If you change only bundle metadata or rebuild a bundled helper, force a full relink or re-sign the complete app before launching it.

Build on Windows 11​

From an MSVC developer prompt:

powershell -File scripts\setup\setup-qt.ps1
powershell -File scripts\setup\setup-fftw.ps1
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build --target AetherSDR

See docs/BUILDING.md § Windows 11 for the full sequence, including the optional dependency scripts.

Install (optional, Linux)​

sudo cmake --install build

This installs the binary, aetherd (the headless engine, started as AetherSDR --aetherd), a desktop entry and the icon. The installed binary keeps using the Qt it was built with. setup-qt.sh keeps older Qt installs until you run it with --prune, so rebuild and reinstall AetherSDR before pruning.

Developing AetherSDR​

AetherSDR is C++20 and Qt 6. Key source directories:

  • src/core/: protocol, audio, networking and the radio backends
  • src/models/: radio, slice, meter and transmit models
  • src/gui/: widgets, applets and dialogs

Start with AGENTS.md, the canonical project guide, and docs/DEVELOPER-GUIDE.md for architecture and conventions. See Contributing Guide before opening a pull request.

Reference​

Build options​

BUILD-OPTIONS.md lists every switch and is checked against the build files, so it stays accurate. A few you may want:

OptionDefaultPurpose
CMAKE_BUILD_TYPE—RelWithDebInfo for normal use, Debug for development
AETHER_GPU_SPECTRUMONQRhi GPU spectrum and waterfall. Needs Qt's private GUI headers; without them the CPU renderer is built.
ENABLE_RTLONExperimental receive-only RTL-SDR backend, when librtlsdr and single-precision FFTW are found
REQUIRE_RTLOFFFail configure if the RTL backend cannot be built. Official release packages set this and ENABLE_RTL to ON.
ENABLE_ASRONCopy Assist on-device speech-to-text
ENABLE_NVIDIA_AFXONBNR NVIDIA GPU noise removal (x86-64 Linux and Windows)
AETHER_FETCH_QTOFFRun the Qt setup script during configure if the pinned Qt is missing
USE_SYSTEM_*OFFFor distribution packagers: use system zlib, libmspack, libmosquitto, RtMidi, libwhisper or SQLite instead of the bundled copies
LOWER_CASE_BINARY_NAMEOFFLower-case executable name on Linux

Builds honor SOURCE_DATE_EPOCH for reproducible output.

Troubleshooting​

The build still uses an old Qt after you installed Qt 6.12​

An existing build directory remembers the Qt it first found.

  1. Reconfigure from scratch: cmake --fresh -B build.
  2. Build again.

setup-qt.sh stops because python3 -m venv does not work​

Debian, Ubuntu and Raspberry Pi OS ship Python without the venv module.

  1. Run sudo apt install python3-venv.
  2. Run scripts/setup/setup-qt.sh again.

The macOS build fails with two Qt installations​

Homebrew's qt is installed alongside the Qt from setup-qt.sh, and CMake sees both.

  1. Remove Homebrew's Qt: brew uninstall qt.
  2. Reconfigure with cmake --fresh -B build and build again.

See also​

  • Installation
  • Contributing Guide
  • AI-Assisted Development
  • GPU Rendering
  • docs/BUILDING.md
  • BUILD-OPTIONS.md
  • Requirements
    • Qt 6.12
    • Dependencies
    • Windows toolchain
  • Setup
    • Build on Linux and macOS
    • macOS development identity
    • Build on Windows 11
    • Install (optional, Linux)
  • Developing AetherSDR
  • Reference
    • Build options
  • Troubleshooting
    • The build still uses an old Qt after you installed Qt 6.12
    • setup-qt.sh stops because python3 -m venv does not work
    • The macOS build fails with two Qt installations
  • See also
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.