Disable extraneous data warning from libjpeg (#53)

These are common with some USB cameras.
This commit is contained in:
Peter Johnson 2019-01-11 01:14:51 -08:00 committed by GitHub
parent f2e493831a
commit 7ff15793cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
deps/02-extract.sh vendored
View File

@ -33,6 +33,9 @@ popd
tar xzf ../01-download/3.4.4.tar.gz
mv opencv-3.4.4 opencv
sed -i -e 's/javac sourcepath/javac target="1.8" source="1.8" sourcepath/' opencv/modules/java/jar/build.xml.in
# disable extraneous data warnings; these are common with USB cameras
sed -i -e '/JWRN_EXTRANEOUS_DATA/d' opencv/3rdparty/libjpeg/jdmarker.c
sed -i -e '/JWRN_EXTRANEOUS_DATA/d' opencv/3rdparty/libjpeg-turbo/src/jdmarker.c
# toolchain setup for opencv and wpilib
cp ../arm-pi-gnueabihf.toolchain.cmake .