1. download opencv3.0.0 source opencv-3.0.0.zip
2. upgrade cmake up to version
3. how to install cmake
sudo apt-get install build-essential
wget http://www.cmake.org/files/v3.2/cmake-3.2.3.tar.gz
tar zxvf cmake-3.2.3.tar.gz cd cmake-3.2.3 ./configure make
sudo apt-get install checkinstall sudo checkinstall
4.extract opencv source and go following
cd opencv-3.0.0
mkdir release
/usr/local/bin/cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr -D PYTHON_EXECUTABLE=$(which python3) ..
6. add the option WITH_IPP=off into the cmake command
/usr/local/bin/cmake -D CMAKE_BUILD_TYPE=RELEASE -D WITH_IPP=off -D CMAKE_INSTALL_PREFIX=/usr -D PYTHON_EXECUTABLE=$(which python3) ..
Could NOT find PythonLibs (missing: PYTHON_LIBRARIES) (Required is exact version "3.4.0")
please do below action
> apt-get install python3-dev
8. do the step 6 again and you will find the related PythonLibs
make -j4 sudo make install
10. Done. Enjoy it.