Package Base Details: opencv2-opt

Git Clone URL: (read-only, click to copy)
Submitter: dracorp
Maintainer: jerry73204
Last Packager: jerry73204
Votes: 9
Popularity: 0.000003
First Submitted: 2016-10-22 23:27
Last Updated: 2018-11-04 07:39

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

dreieck commented on 2018-05-17 11:32

Build fails for me, too:

In file included from /var/tmp/yaourt-tmp-felics/aur-opencv2-opt/src/opencv-
/var/tmp/yaourt-tmp-felics/aur-opencv2-opt/src/opencv- In static member function ‘static AVStream* OutputMediaStream_FFMPEG::addVideoStream(AVFormatContext*, AVCodecID, int, int, int, double, AVPixelFormat)’:
/var/tmp/yaourt-tmp-felics/aur-opencv2-opt/src/opencv- error: ‘CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope
             c->flags |= CODEC_FLAG_GLOBAL_HEADER;
/var/tmp/yaourt-tmp-felics/aur-opencv2-opt/src/opencv- note: suggested alternative: ‘AV_CODEC_FLAG_GLOBAL_HEADER’
             c->flags |= CODEC_FLAG_GLOBAL_HEADER;
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:952: modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
==> ERROR: A failure occurred in build().

kolorafa commented on 2018-05-17 09:50

Can't compile, problems around ffmpeg variable names on latest Arch.

orion78fr commented on 2018-02-09 17:43

I don't know if it's of any use for you :

==> Checking for packaging issue... ==> WARNING: Package contains reference to $srcdir

dracorp commented on 2018-01-02 20:35

Probably I have to fix PKGBUILD. I've created this package based on opencv2

john2x commented on 2018-01-02 02:35

opencv2-opt-samples is listed as optional, but this package includes it in its build and install process anyway. Shouldn't it be separately handled by the opencv2-opt-samples package?

dracorp commented on 2017-10-22 17:58

Yes, it can:
$ pacman -Q | grep opencv
opencv 3.3.0-2
opencv-samples 3.3.0-2

oppsig commented on 2017-10-22 09:02

Can this coexist with opencv3?

jerry73204 commented on 2017-10-05 07:09

It seems that the repo has a patch cmake.diff, but PKGBUILD has a patch command that is commented out at line 100.

dracorp commented on 2017-05-16 15:58

Probably you can use PYTHONPATH:

billypilgrim commented on 2017-05-16 12:44

Hey. Is it possible to use OpenCV v2 with python if I've also got v3 installed? If so, what's the python package called? If I import cv2 as normal, the version I get is 3.2...