fix: ignore non-critical warnings treated as errors during compilation on modern systems

This commit is contained in:
Timothy Hofland
2026-03-11 14:42:35 +01:00
parent 963bed0dd3
commit 00286161b3

View File

@ -257,10 +257,10 @@ if [ -f src/Osc/OscControl.cpp ]; then
fi
fi
# Build Example (Clean call - let OF detect platform)
# Build Example (Clean call - let OF detect platform, but ignore Trixie compiler strictness)
cd "$REAL_HOME/openFrameworks/addons/ofxPiMapper/example_basic"
echo "Starting compilation..."
sudo -u "$REAL_USER" make -j1
sudo -u "$REAL_USER" make -j1 USER_CFLAGS="-Wno-error -Wno-reorder -Wno-sign-compare -Wno-delete-non-virtual-dtor"
cp bin/example_basic /usr/local/bin/ofxPiMapper
chmod +x /usr/local/bin/ofxPiMapper