Skip to content

Commit

Permalink
osx: update env path to match latest OpenCV 3.3.1_1 from Homebrew
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <ron@hybridgroup.com>
  • Loading branch information
deadprogram committed Nov 14, 2017
1 parent 52d431a commit 35c0bab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions env.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
uname_val="$(uname)"
if [[ "$uname_val" == "Darwin" ]]; then
export CGO_CPPFLAGS="-I/usr/local/Cellar/opencv/3.3.1/include -I/usr/local/Cellar/opencv/3.3.1/include/opencv2"
export CGO_CPPFLAGS="-I/usr/local/Cellar/opencv/3.3.1_1/include -I/usr/local/Cellar/opencv/3.3.1_1/include/opencv2"
export CGO_CXXFLAGS="--std=c++1z -stdlib=libc++"
export CGO_LDFLAGS="-L/usr/local/Cellar/opencv/3.3.1/lib -lopencv_core -lopencv_videoio -lopencv_imgproc -lopencv_highgui -lopencv_imgcodecs -lopencv_objdetect -lopencv_calib3d -lopencv_video"
export CGO_LDFLAGS="-L/usr/local/Cellar/opencv_1/3.3.1_1/lib -lopencv_core -lopencv_videoio -lopencv_imgproc -lopencv_highgui -lopencv_imgcodecs -lopencv_objdetect -lopencv_calib3d -lopencv_video"
echo "Environment variables configured for OSX"
elif [[ "$uname_val" == "Linux" ]]; then
if [[ -f /etc/pacman.conf ]]; then
Expand Down

0 comments on commit 35c0bab

Please sign in to comment.