fix: patch ofxPiMapper VideoSource.h to use std::unique_ptr for C++20 compatibility

This commit is contained in:
Timothy Hofland
2026-03-11 22:16:39 +01:00
parent 00286161b3
commit eecfe398d7

View File

@ -255,7 +255,14 @@ if [ -f src/Osc/OscControl.cpp ]; then
return; \
}' src/Osc/OscControl.cpp
fi
fi
fi
# Patch for unique_ptr namespace issue in VideoSource.h
if [ -f src/Sources/VideoSource.h ]; then
echo "Applying std:: namespace patch to VideoSource.h..."
sed -i 's/unique_ptr/std::unique_ptr/g' src/Sources/VideoSource.h
fi
fi
# Build Example (Clean call - let OF detect platform, but ignore Trixie compiler strictness)
cd "$REAL_HOME/openFrameworks/addons/ofxPiMapper/example_basic"