fix: ignore non-critical warnings treated as errors during compilation on modern systems
This commit is contained in:
@ -257,10 +257,10 @@ if [ -f src/Osc/OscControl.cpp ]; then
|
|||||||
fi
|
fi
|
||||||
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"
|
cd "$REAL_HOME/openFrameworks/addons/ofxPiMapper/example_basic"
|
||||||
echo "Starting compilation..."
|
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
|
cp bin/example_basic /usr/local/bin/ofxPiMapper
|
||||||
chmod +x /usr/local/bin/ofxPiMapper
|
chmod +x /usr/local/bin/ofxPiMapper
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user