Skip to content

Instantly share code, notes, and snippets.

@wadtech
Forked from hfeeki/build_openbr.sh
Last active March 15, 2016 14:13
Show Gist options
  • Select an option

  • Save wadtech/9dd895c1ca6b10997cd8 to your computer and use it in GitHub Desktop.

Select an option

Save wadtech/9dd895c1ca6b10997cd8 to your computer and use it in GitHub Desktop.

Revisions

  1. wadtech revised this gist Mar 15, 2016. 1 changed file with 1 addition and 5 deletions.
    6 changes: 1 addition & 5 deletions build_openbr.sh
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ 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
    wget ftp://ftp.lyx.org/pub/linux/distributions/0linux/archives_sources/opencv/opencv-2.4.5.tar.gz
    tar -xf opencv-2.4.5.tar.gz
    cd opencv-2.4.5
    mkdir build
    @@ -17,7 +17,6 @@ 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
    @@ -30,6 +29,3 @@ cd build
    cmake -DCMAKE_PREFIX_PATH=~/Qt5.1.1/5.1.1/clang_64 -DCMAKE_BUILD_TYPE=Release ..
    make -j4
    sudo make install



  2. @hfeeki hfeeki revised this gist Jan 20, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions build_openbr.sh
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ tar -xf opencv-2.4.5.tar.gz
    cd opencv-2.4.5
    mkdir build
    cd build
    cmake -DCMAKE_PREFIX_PATH=~/Qt5.1.1/5.1.1/clang_64 -DCMAKE_BUILD_TYPE=Release ..
    cmake -DCMAKE_BUILD_TYPE=Release ..
    make -j4
    sudo make install
    cd ../..
    @@ -27,7 +27,7 @@ git submodule update

    mkdir build # from the OpenBR root directory
    cd build
    cmake -DCMAKE_BUILD_TYPE=Release ..
    cmake -DCMAKE_PREFIX_PATH=~/Qt5.1.1/5.1.1/clang_64 -DCMAKE_BUILD_TYPE=Release ..
    make -j4
    sudo make install

  3. @hfeeki hfeeki revised this gist Jan 20, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion build_openbr.sh
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ tar -xf opencv-2.4.5.tar.gz
    cd opencv-2.4.5
    mkdir build
    cd build
    cmake -DCMAKE_BUILD_TYPE=Release ..
    cmake -DCMAKE_PREFIX_PATH=~/Qt5.1.1/5.1.1/clang_64 -DCMAKE_BUILD_TYPE=Release ..
    make -j4
    sudo make install
    cd ../..
  4. @hfeeki hfeeki revised this gist Jan 20, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions build_openbr.sh
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,5 @@
    # 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

    @@ -16,8 +17,7 @@ sudo make install
    cd ../..
    # rm -rf opencv-2.4.5*

    sudo apt-add-repository ppa:ubuntu-sdk-team/ppa
    sudo apt-get update

    sudo apt-get install qt5-default libqt5svg5-dev qtcreator

    git clone https://github.com/biometrics/openbr.git
  5. @hfeeki hfeeki revised this gist Jan 20, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion build_openbr.sh
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,7 @@ cmake -DCMAKE_BUILD_TYPE=Release ..
    make -j4
    sudo make install
    cd ../..
    rm -rf opencv-2.4.5*
    # rm -rf opencv-2.4.5*

    sudo apt-add-repository ppa:ubuntu-sdk-team/ppa
    sudo apt-get update
  6. @hfeeki hfeeki revised this gist Jan 20, 2014. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions build_openbr.sh
    Original file line number Diff line number Diff line change
    @@ -16,6 +16,8 @@ sudo make install
    cd ../..
    rm -rf opencv-2.4.5*

    sudo apt-add-repository ppa:ubuntu-sdk-team/ppa
    sudo apt-get update
    sudo apt-get install qt5-default libqt5svg5-dev qtcreator

    git clone https://github.com/biometrics/openbr.git
  7. @hfeeki hfeeki created this gist Jan 16, 2014.
    33 changes: 33 additions & 0 deletions build_openbr.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    # Install GCC 4.7.3
    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_BUILD_TYPE=Release ..
    make -j4
    sudo make install