Skip to content

Instantly share code, notes, and snippets.

@Pilooz
Created December 11, 2017 10:50
Show Gist options
  • Save Pilooz/beefa092499f42f3bddbc44da1819bf6 to your computer and use it in GitHub Desktop.
Save Pilooz/beefa092499f42f3bddbc44da1819bf6 to your computer and use it in GitHub Desktop.
Install openCV3.3.0 on Pi 3 under Raspbian Stretch
Stretch OpenCV 3.3.0...
Following the basic build instructions from http://docs.opencv.org/2.4/doc/tutorial ... stall.html
sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
git clone https://github.com/opencv/opencv.git
cd opencv
mkdir release
cd release
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/local ..
make -j2
sudo make install
The make line takes a fair while, but completes fine (a moderate number of warnings go past).
@Pilooz
Copy link
Author

Pilooz commented Dec 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment