Last active
August 30, 2017 14:46
-
-
Save levabd/5b9d5543113d51dc8cf063149dc688c7 to your computer and use it in GitHub Desktop.
OpenCV build with GTK and google protobuf Fix
This file contains hidden or 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 | |
mkdir build && cd build | |
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=ON -D WITH_V4L=ON -D WITH_QT=ON -D WITH_OPENGL=ON -DBUILD_EXAMPLES=ON DWITH_OPENGL=ON -DBUILD_TIFF=ON -DWITH_GTK_2_X=ON ../opencv-3.3 | |
make -j16 | |
sudo make install | |
sudo ldconfig |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment