Compiling OpenCV with ffmpeg GPU support
i am trying to get FFMPEG to use GPU to improve the speed of my program. I got FFMPEG from cloning https://git.ffmpeg.org/ffmpeg.git and followed the steps here https://developer.nvidia.com/ffmpeg to...
View ArticleImpossible to compile on ubuntu 18.04
Hi, i try to build opencv 2.4.9.1 on ubunut 18.04. But i have many errors ( I have tester on 18.10 with same issues ) http://paste.ubuntu.com/p/kZZTMB4fjQ/ How to fix ? Thx.
View ArticleWhere can I find the cmake options used for the 4.1.0 build
I was having some issues with my custom build and decided to try the prebuilt and sure enough it worked. So now I am trying to find what cmake settings were used to build the default one. Also how do...
View ArticleBuilding Infrastructure
I was trying to build the OpenCV build infrastructure (https://github.com/opencv-infrastructure/opencv-master-config and https://github.com/opencv-infrastructure/opencv-worker-config) for a project and...
View Articlefailed to build Ubuntu .deb file for OpenCV
I need to install OpenCV 4.1.0 on many Ubunu 18.04 computers, and would like to do so by installing the necessary .deb files. Ubuntu's 18.04 repo only has OpenCV v3.x, so I'm trying to create my own...
View Articlelibpng is linked despite being excluded in cmake
I'm trying to generate very compact version of OpenCV and it generally works except libpng (8 MB) cannot be striped out of the resulting binary (iOS Framework), despite having specified...
View ArticleHow to build OpenCV 4.1.0 on Ubuntu 18.10
Any chance someone has a tutorial newer than the nine year old instructions on Ubuntu 10.0 here: https://docs.opencv.org/4.1.0/d7/d9f/tutorial_linux_install.html I've been attempting to build from...
View Articleafter build opencv with -DBUILD_SHARED_LIBS=OFF, I still need external...
I use a ubuntu 1604 python 3.6 docker image to set up the build environments. And successfully built opencv python3 with -DBUILD_SHARED_LIBS=OFF. But when I copy the...
View ArticleGTK or QT when build OpenCV
I think HighGui should call some GUI library to draw windows when build OpenCV, there are some 3rd party libraries we could choose, should we choose GTK or QT? Which one is more appropriate, efficient.
View ArticleBuilding latest master for android but missing Java folder
I'm trying to build the latest master for Android. I struggled for a while but finally got cmake, cygwin, NDK and SDK to all work together and compile. I built for shared libraries but I can't figure...
View ArticleLIBTIFF_4.0 link errors
I build opencv-2.4.9 successfully (it seemed) on Linux x86_64. When I then build an application that used highgui I get the following errors. Can you tell me why I am getting this and how to fix it? I...
View ArticleMake error __atomic_fetch_add_8 on RaspberryPi4
Hello, I've been trying to compile OpenCV 4.1.1 on my RaspberryPi 4 running Rasbian Buster with Python 3.7. I use the following command for cmake running inside a build folder under opencv (as...
View ArticleBuild OpenCV Java for Linux, MacOS and Windows
Hey, Is it possible to build OpenCV Java for Linux, MacOS and Windows and optain a single jar file containing libraries for each OS ? I was using a [Maven...
View ArticleSteps to build native OpenCV for Android
Hello everyone 😄 ----------------- I want to build openCV for Android on Linux like in [this tutorial](https://amin-ahmadi.com/2019/02/03/how-to-build-opencv-4-x-for-native-android-development/) Here...
View ArticleTrouble building opencv4.1.1 on RHEL 6
Steps followed: -> Installed dependancies:python 2.7, python-devel, numpy, matplotlib, cmake, gcc, gcc-c++, tbb, tbb-devel, gtk2-devel, pkgconfig, ffmpeg-devel, gstreamer-plugins-base-devel, ->...
View ArticleOpenCV build for Mac Catalyst/iOS 13 iOS app on Mac support?
I have been trying to build openCV libraries which would be compatible for mac catalyst (iOS app built for Mac which is a new feature on iOS 13/Mac 10.15 beta) without much success. This is the command...
View ArticleWhich Qt 4 configuration options are needed by OpenCV?
We are compiling Qt 4 from source and using it as a private copy. Looking at the configuration banners, OpenCV seems to only be using a tiny fraction of Qt's functionality. E.g. stuff like network...
View ArticleError during installation of built opencv with CUDA
I am trying to build opencv library from source. Here some platform information: Ubuntu 16.04, gcc version 5.4.0, CUDA version 8 I added this flags for compilation: -D ENABLE_CXX11=ON -D...
View ArticleAndroid 3.4.6 build from source
I'm going crazy trying to build and Android version from scratch again. It seems no matter what hoops I jump through, or old google tools I find there is always another error right around the corner....
View Articlecan't find libpthread_nonshared.a
I am trying to build opencv from source and I inserted cmake instructions, then when I enter make command, it reaches 11% and then shows the following error >> /usr/bin/ld: cannot find...
View Article