Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

wget https://github.com/Itseez/opencv/archive/3.0.0.zip

unzip 3.0.0.zip

mkdir /sw/opencv/opencv-3.0.0/build

cd /sw/opencv/opencv-3.0.0/build

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

OR:

git clone https://github.com/Itseez/opencv.git

git clone https://github.com/Itseez/opencv_contrib.git

mkdir /sw/opencv/opencv/build

cd /sw/opencv/opencv/build

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

cmake -D CMAKE_BUILD_TYPE=3.0.0 -D CMAKE_INSTALL_PREFIX=/sw/opencv/opencv-3.0.0 ..

make -j2

mkdir /sw/opencv/opencv-3.0.0/build/doc

make -j2

make install

 

opencv-3.1.0

>>>>>>>>>>>>>>>>

cd /sw/opencv/opencv-3.1.0/build/3rdparty/ippicv

wget https://raw.githubusercontent.com/Itseez/opencv_3rdparty/81a676001ca8075ada498583e4166079e5744668/ippicv/ippicv_linux_20151201.tgz
mkdir /sw/opencv/opencv-3.1.0/build/doc
cd /sw/opencv/opencv-3.1.0/build/

#cmake -D CMAKE_BUILD_TYPE=3.1.0 -D CMAKE_INSTALL_PREFIX=/sw/opencv/opencv-3.1.0  -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D WITH_QT=ON -D WITH_OPENGL=ON ..
cmake -D CMAKE_BUILD_TYPE=3.1.0 -D CMAKE_INSTALL_PREFIX=/sw/opencv/opencv-3.1.0  -D WITH_TBB=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D WITH_QT=OFF -D WITH_OPENGL=ON ..

make -j2
make install

 

>>>>>>>>>>>>>>>>>

Reference

1. http://docs.opencv.org/3.0-last-rst/doc/tutorials/introduction/linux_install/linux_install.html


2.
http://opencv.org/quickstart.html

...