From ea64969e513a6799600ec8ae92a8b64f32e996e8 Mon Sep 17 00:00:00 2001 From: Tadas Baltrusaitis Date: Fri, 2 Feb 2018 17:31:14 +0000 Subject: [PATCH] Changes to install script --- install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index 036dd82..8a032c4 100755 --- a/install.sh +++ b/install.sh @@ -37,18 +37,18 @@ echo "Essential dependencies installed." # OpenCV Dependency echo "Downloading OpenCV..." -wget https://github.com/Itseez/opencv/archive/3.1.0.zip -unzip 3.1.0.zip -cd opencv-3.1.0 +wget https://github.com/opencv/opencv/archive/3.4.0.zip +unzip 3.4.0.zip +cd opencv-3.4.0 mkdir -p build cd build echo "Installing OpenCV..." -cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D BUILD_SHARED_LIBS=OFF .. +cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D WITH_CUDA=OFF -D BUILD_SHARED_LIBS=OFF .. make -j4 sudo make install cd ../.. -rm 3.1.0.zip -sudo rm -r opencv-3.1.0 +rm 3.4.0.zip +sudo rm -r opencv-3.4.0 echo "OpenCV installed." # Boost C++ Dependency