From 27c5b08d410757b828b74fcece9e916b679671b0 Mon Sep 17 00:00:00 2001 From: "Aaron D. Lee" Date: Sat, 10 Jan 2026 22:30:59 -0500 Subject: [PATCH] RPi: Fix jpeglib include path (symlink src/jpeglib -> jpeglib) The setup.py has broken include_dirs that reference 'jpeglib/cjpeglib' but the source files are in 'src/jpeglib/cjpeglib'. Create a symlink to fix the include path resolution. Co-Authored-By: Claude Opus 4.5 --- rpi/setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpi/setup.sh b/rpi/setup.sh index d4d27ab..7e8d1c9 100755 --- a/rpi/setup.sh +++ b/rpi/setup.sh @@ -351,6 +351,9 @@ else cd jpeglib CJPEGLIB="src/jpeglib/cjpeglib" + # Fix broken include paths in setup.py (uses jpeglib/ but files are in src/jpeglib/) + ln -s src/jpeglib jpeglib + # Download libjpeg headers (not included in repo either) echo " Downloading libjpeg 6b headers..." curl -sL "https://www.ijg.org/files/jpegsrc.v6b.tar.gz" | tar -xzf -