Ubuntu18.04 install opencv 3.2.0 solution

Download opencv.zip

To install dependencies in advance.

Update the download source first. The 17.04 source can solve the problem of not finding libjasper.dev in 18.04.

ref
https://stackoverflow.com/questions/43484357/opencv-in-ubuntu-17-04
libjasper-dev cannot be installed
errorE: unable to locate libjasper-dev

Solution

sudo add-apt-repository “deb http://security.ubuntu.com/ubuntu xenial-security main”
sudo apt update
sudo apt install libjasper1 libjasper-dev

**Error: **

— Checking for module ‘gstreamer-base-1.0’
— No package ‘gstreamer-base-1.0’ found
— Checking for module ‘gstreamer-video-1.0’
— No package ‘gstreamer-video-1.0’ found
— Checking for module ‘gstreamer-app-1.0’
— No package ‘gstreamer-app-1.0’ found
— Checking for module ‘gstreamer-riff-1.0’
— No package ‘gstreamer-riff-1.0’ found
— Checking for module ‘gstreamer-pbutils-1.0’
— No package ‘gstreamer-pbutils-1.0’ found
— Checking for module ‘gstreamer-base-0.10’
— No package ‘gstreamer-base-0.10’ found
— Checking for module ‘gstreamer-video-0.10’
— No package ‘gstreamer-video-0.10’ found
— Checking for module ‘gstreamer-app-0.10’
— No package ‘gstreamer-app-0.10’ found
— Checking for module ‘gstreamer-riff-0.10’
— No package ‘gstreamer-riff-0.10’ found
— Checking for module ‘gstreamer-pbutils-0.10’
— No package ‘gstreamer-pbutils-0.10’ found

Solution

ref
https://stackoverflow.com/questions/37678324/compiling-opencv-with-gstreamer-cmake-not-finding-gstreamer

installation

sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev

Report an error

— CUDA detected: 9.0
— CUDA NVCC target flags: -gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-D_FORCE_INLINES
— Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
— Could NOT find Atlas (missing: Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY)
— Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
— Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
— VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file

to sum up

The above is the solution introduced by the editor for installing opencv 3.2.0 on Ubuntu 18.04. I hope it will be helpful to you. If you have any questions, please leave me a message, and the editor will reply to you in time. Thank you very much for your support to the ZaLou.Cn website!

Recommended Posts

Ubuntu18.04 install opencv 3.2.0 solution
ubuntu 14.04 install flash invalid solution
How to install opencv3.0.0 on ubuntu14.04
How to install OpenCV on Ubuntu 20.04
ubuntu18.04 install docker
ubuntu12.04 install python3
Ubuntu install guide
ubuntu install nodejs
ubuntu 16 install asp.net
ubuntu install leanote
ubuntu install Jenkins
docker install ubuntu
ubuntu install elasticsearch
ubuntu16.0.1 install pagoda
ubuntu18.04 install python
ubuntu 18.04 install teamviewer
ubuntu install sendmail
Install apache+PHP under Ubuntu
install vscode on ubuntu18
Install node.js under Ubuntu
ubuntu install zsh terminal
Install nvtop on Ubuntu 18.04
Install postgresql-10 on Ubuntu 18.04
Install python3.6 under Ubuntu 16.04
Install docker on Ubuntu
Install mysql under Ubuntu 16.04
Install Thrift under ubuntu 14.10
Install OpenJDK10 under Ubuntu
Install Caffe under Ubuntu 14.04
Install Docker on ubuntu18.04
Install nodejs10 on Ubuntu16
ubuntu install harbor warehouse
The solution to the failure to install .deb under Ubuntu 16.04
Install mysql on Ubuntu 14.04
Ubuntu16.04 install Mongodb tutorial
Install Django on ubuntu
Install Pytorch+CUDA on Ubuntu 16.04
2018-09-11 Install arduino under Ubuntu
Install Python3 on Ubuntu 14.04
Ubuntu18.04 install Asterisk16.10 + FreePBX15.0
Ubuntu19 install MySQL pit
ubuntu16.04 install node.js, npm
Install rJava on Ubuntu18
Install JDK10+ on Ubuntu
pcduino ubuntu install os
Install python in Ubuntu
Install JDK in Ubuntu19.10
Install Python3 on Ubuntu 16.04
Install ROS under ROS Ubuntu 18.04[2]
Install MySQL under Ubuntu
Install KDE on Ubuntu16.04.2
ubuntu install nginx server
Install Yarm-PM2 under Ubuntu
Install Docker on Ubuntu18
Install Python3.7 on Ubuntu
Install flashplayer on Ubuntu
ubuntu: install camera driver
ubuntu14.04 install jdk1.8 tutorial
How to install two versions of OpenCV under ubuntu?
Docker practice (1): install Docker on Ubuntu 16.04
Install VMware Tools in Ubuntu 18.04