-
-
Save rghose/50c14f976b66b2afbd22 to your computer and use it in GitHub Desktop.
This will make opencv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
sudo yum install -y gcc g++ gtk+-devel libjpeg-devel libtiff-devel jasper-devel libpng-devel zlib-devel cmake unzip | |
sudo yum install -y yum-priorities | |
wget http://ftp-srv2.kddilabs.jp/Linux/distributions/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
sudo rpm -ivh epel-release-6-8.noarch.rpm | |
sudo yum install -y eigen3-devel —enablerepo=epel | |
pip install numpy | |
wget http://downloads.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.8/opencv-2.4.8.zip | |
unzip opencv-2.4.8 | |
cd opencv-2.4.8 | |
mkdir build | |
cd build | |
cmake \ | |
-DBUILD_DOCS=OFF \ | |
-DBUILD_EXAMPLES=OFF \ | |
-DWITH_OPENCL=OFF \ | |
-Wno-dev ../ | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment