Skip to content

Commit

Permalink
Fix OS X build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Aas committed Nov 26, 2013
1 parent 888073a commit 14c38eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-osx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 14c38eb

Please sign in to comment.