From 14c38ebd4980dbd2a9ca229d8464390f20de14ea Mon Sep 17 00:00:00 2001 From: Josh Aas Date: Tue, 26 Nov 2013 16:37:33 -0600 Subject: [PATCH] Fix OS X build. --- build-osx.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-osx.sh b/build-osx.sh index 81f6aa0..e3cd459 100755 --- a/build-osx.sh +++ b/build-osx.sh @@ -22,12 +22,12 @@ cd .. cd tests/rgbssim echo "Compiling rgbssim..." -g++ rgbssim.cpp -O2 -o rgbssim -I /opt/local/include/ -I /opt/local/include/opencv/ -L/opt/local/lib/ -lopencv_core -lopencv_imgproc -lopencv_highgui || { echo 'Failed!' ; exit 1; } +g++ rgbssim.cpp -O2 -o rgbssim -I /opt/local/include/ -I /opt/local/include/opencv/ -I /opt/local/include/opencv2/highgui/ -L/opt/local/lib/ -lopencv_core -lopencv_imgproc -lopencv_highgui || { echo 'Failed!' ; exit 1; } cd ../.. cd tests/dssim echo "Compiling dssim..." -g++ dssim.cpp -O2 -o dssim -I /opt/local/include/ -I /opt/local/include/opencv/ -L/opt/local/lib/ -lopencv_core -lopencv_imgproc -lopencv_highgui || { echo 'Failed!' ; exit 1; } +g++ dssim.cpp -O2 -o dssim -I /opt/local/include/ -I /opt/local/include/opencv/ -I /opt/local/include/opencv2/highgui/ -L/opt/local/lib/ -lopencv_core -lopencv_imgproc -lopencv_highgui || { echo 'Failed!' ; exit 1; } cd ../.. echo "Success building all encoders and decoders."