Commit 0d68328b authored by Jeff Niu's avatar Jeff Niu

Using prebuilt opencv3 debian package

parent d1e71166
language: cpp
compiler: gcc
dist: trusty
dist: xenial
sudo: false
- sudo add-apt-repository ppa:beineri/opt-qt551-trusty -y
- uname -a
- sudo apt-get update -qq
- g++ --version
- python3 --version
- cmake --version
- git clone
- sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev libavcodec-dev libavformat-dev libswscale-dev libxvidcore-dev libx264-dev libv4l-dev liblapacke-dev libgtk-3-dev libopenblas-dev libhdf5-dev libtesseract-dev libleptonica-dev gfortran -y -qq
- sudo apt-get install ffmpeg -y -qq
- sudo dpkg -i opencv3-debian/opencv3_3.4.0-1_amd64.deb
- sudo apt-get install qt55declarative qt55multimedia -y -qq
- sudo apt-get install qt5-default qtmultimedia5-dev -y -qq
- sudo apt-get install libfontconfig1 mesa-common-dev libglu1-mesa-dev libudev-dev libxi6 libsm6 libxrender1 libegl1-mesa -y -qq
- sudo apt-get install libopencv-dev -y -qq
- mkdir build
- cd build
- cmake ../ -DCMAKE_PREFIX_PATH=/opt/qt55/lib/cmake
- cmake ..
- make
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment