Add Cloud Agent dev environment install script - #3
Draft
TomKaltz wants to merge 1 commit into
Draft
Conversation
Co-authored-by: Thomas Kaltz III <tomkaltz@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
tools/linux/cloud-agent-install.sh, an idempotent bootstrap for the CasparCG Server development environment. It installs the build toolchain + system dependencies and performs a full CMake/Ninja build via the recommended system-CEF path (ppa:casparcg/ppa).This is the human-runnable equivalent of the install script now backing the Cursor Cloud Agent dashboard-managed environment (which uses an inline copy of the same commands so it does not depend on this unmerged file).
Why
The dashboard-managed dev environment previously lacked build dependencies (no Boost/FFmpeg/Ninja) and its recurring environment build was failing. This script makes the environment build the server end to end on a clean Ubuntu 24.04 (noble) image and encodes two fixes discovered during validation:
CC=gcc/CXX=g++, plus-DCMAKE_C(XX)_COMPILER). The base image points thec++alternative at clang, whose GCC autodetection selects a gcc dir withoutlibstdc++dev files and fails to link (-lstdc++).-Wl,--copy-dt-needed-entries.libavdevicepulls inlibcaca, which needslibncurseswsymbols; modernlddefaults to--no-copy-dt-needed-entriesand leaves those transitive symbols unresolved when linkingshell/casparcg.Validation
2.5.0 Dev), andshell/casparcglinks successfully (lddreports no missing libraries; the binary starts and parses args).bld-20260805-cbafc016...): fresh checkout ofmaster+ full install →[129/129] Linking CXX executable shell/casparcg, buildSUCCEEDED.Note: the environment is dashboard-managed (DB). Merging this PR keeps the committed script in sync, but the saved environment is updated separately via Save in the Cloud Agent environment panel.