![]() If CMake didn't report any errors or missing libraries, continue with the build. Also feel free to set other flags and customise your build as you see fit. We include the examples in the build, but feel free to leave them out. Issue the following command to get the OpenCV source code and prepare the build: mkdir ~/src Libpng-devlibtiff-dev libjasper-dev libdc1394-22-dev The following packages are optional: sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev \ Libavcodec-dev libavformat-dev libswscale-dev Sudo apt-get install cmake git libgtk2.0-dev pkg-config \ ![]() Issue the following commands in your terminal to install the required packages: sudo apt-get update However, these libraries are often out of date. ![]() Note: If you don't feel like wasting time building stuff or dislike the terminal, you can most likely install OpenCV from the Synaptic package manager GUI. The steps should stay the same for other distros, just replace the relevant package manager commands when installing packages for the build. This is a step-by-step guide to installing OpenCV 3 on a Debian-based Linux system from source.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |