fix: patch ofxPiMapper VideoSource.h to use std::unique_ptr for C++20 compatibility
This commit is contained in:
@ -257,6 +257,13 @@ if [ -f src/Osc/OscControl.cpp ]; then
|
||||
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"
|
||||
echo "Starting compilation..."
|
||||
|
||||
Reference in New Issue
Block a user