Skip to content

Instantly share code, notes, and snippets.

@hfeeki
Last active August 26, 2016 01:16
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save hfeeki/8448186 to your computer and use it in GitHub Desktop.
Save hfeeki/8448186 to your computer and use it in GitHub Desktop.
Build openbr in ubuntu
# Install GCC 4.7.3
sudo apt-add-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update
sudo apt-get install -y build-essential
# Install CMake 2.8.10.1
sudo apt-get install -y cmake cmake-curses-gui
wget http://netcologne.dl.sourceforge.net/project/opencvlibrary/opencv-unix/2.4.5/opencv-2.4.5.tar.gz
tar -xf opencv-2.4.5.tar.gz
cd opencv-2.4.5
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j4
sudo make install
cd ../..
# rm -rf opencv-2.4.5*
sudo apt-get install qt5-default libqt5svg5-dev qtcreator
git clone https://github.com/biometrics/openbr.git
cd openbr
git submodule init
git submodule update
mkdir build # from the OpenBR root directory
cd build
cmake -DCMAKE_PREFIX_PATH=~/Qt5.1.1/5.1.1/clang_64 -DCMAKE_BUILD_TYPE=Release ..
make -j4
sudo make install
@dzautner
Copy link

git is missing (:

@cnwanghao
Copy link

Install Qt 5.4.1
$ sudo apt-get install qt5-default libqt5svg5-dev qtcreator

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