Package Details: opencv2

Git Clone URL: (read-only, click to copy)
Package Base: opencv2
Description: Open Source Computer Vision Library (Legacy Version)
Upstream URL:
Licenses: BSD
Conflicts: opencv
Provides: opencv=
Submitter: reisub
Maintainer: None
Last Packager: ashok
Votes: 19
Popularity: 0.019108
First Submitted: 2016-04-25 13:35
Last Updated: 2019-02-27 06:53

Required by (305)

Sources (1)

Latest Comments

1 2 3 Next › Last »

pantos commented on 2021-05-22 20:02

To fix latest compilation issues, add to _cmakeopts:

'-D CMAKE_CXX_FLAGS="-std=gnu++11"'

(in addition to the patch provided by @lobomfz)

boennhoff commented on 2021-04-26 07:53

Compilation is broken since many month (years?), see @lobomfz. Please abandon the package @ashok if there is no time to take care.

lobomfz commented on 2020-08-08 07:08

Compilation fails on grfmt_jpeg2000.cpp with the latest libjaster version. You need to add

sed -i 's/&jas_matrix_get/jas_matrix_getref/g' modules/highgui/src/grfmt_jpeg2000.cpp

to prepare() or apply this patch file i made

yar commented on 2019-02-22 23:35

Could you add provides=("opencv=$pkgver") please? This would make it compatible with packages like python-moviepy-git which depends on "opencv<3.0.0"

temporalin commented on 2018-06-03 20:34

The patches worked for me without ffmpeg-compat-57

davidmcinnis commented on 2018-05-15 20:58

Build fails due to bad symbol: AVFMT_RAWPICTURE:

I had to include the patch file AVFMT_RAWPICTURE.patch:

Here my patch to PKGBUILD:

Also had to install


Captain_Rage commented on 2018-05-13 08:10


make[2]: [modules/highgui/CMakeFiles/opencv_highgui.dir/build.make:180: modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:1211: modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2 make: *** [Makefile:163: all] Error 2

after recompiling after yesterday's system upgrade.

petronny commented on 2018-05-13 05:44

I get exactly the errors in

Please fix them.

oppsig commented on 2017-10-22 09:02

Does this package have conflicts with opencv 3 still?

Kpunkt commented on 2017-09-09 15:04

Should be fixed. Check it out!