Package Details: opencv2-samples

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

Dependencies (8)

Required by (293)

Sources (1)

Latest Comments

1 2 3 Next › Last »

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!

jerry73204 commented on 2017-09-07 17:44

OpenCV fajled to build due to the following issue.

Please apply this patch as a fix-up.

diff -Naur opencv-
--- opencv- 2017-07-31 20:57:29.000000000 +0800
+++ opencv- 2017-09-08 01:05:41.389053649 +0800
@@ -18,9 +18,9 @@
message(STATUS "Unable to compile program with enabled ccache, reverting...")
- else()
- message(STATUS "Looking for ccache - not found")
+ else()
+ message(STATUS "Looking for ccache - not found")