Skip to content

Instantly share code, notes, and snippets.

@levabd
Last active August 30, 2017 14:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save levabd/5b9d5543113d51dc8cf063149dc688c7 to your computer and use it in GitHub Desktop.
Save levabd/5b9d5543113d51dc8cf063149dc688c7 to your computer and use it in GitHub Desktop.
OpenCV build with GTK and google protobuf Fix
#!/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