Package Details: opencv2 2.4.13.7-5

Git Clone URL: https://aur.archlinux.org/opencv2.git (read-only, click to copy)
Package Base: opencv2
Description: Open Source Computer Vision Library (version 2.x)
Upstream URL: https://opencv.org/
Licenses: BSD
Submitter: reisub
Maintainer: dbermond
Last Packager: dbermond
Votes: 28
Popularity: 0.176665
First Submitted: 2016-04-25 13:35 (UTC)
Last Updated: 2023-12-18 21:47 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

dracorp commented on 2018-05-22 15:19 (UTC)

The same problem is for opencv2

postadelmaga commented on 2018-05-22 05:39 (UTC)

Same here, built fails at 10%

[ 10%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o

dreieck commented on 2018-05-17 11:32 (UTC) (edited on 2018-05-17 11:32 (UTC) by dreieck)

Build fails for me, too:

In file included from /var/tmp/yaourt-tmp-felics/aur-opencv2-opt/src/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg.cpp:45:
/var/tmp/yaourt-tmp-felics/aur-opencv2-opt/src/opencv-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp: 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-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp:2214:25: 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-2.4.13.3/modules/highgui/src/cap_ffmpeg_impl.hpp:2214:25: note: suggested alternative: ‘AV_CODEC_FLAG_GLOBAL_HEADER’
             c->flags |= CODEC_FLAG_GLOBAL_HEADER;
                         ^~~~~~~~~~~~~~~~~~~~~~~~
                         AV_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().
    Aborting...

kolorafa commented on 2018-05-17 09:50 (UTC)

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

https://pastebin.com/8wvBPkLb

davidmcinnis commented on 2018-05-15 20:58 (UTC) (edited on 2018-05-15 22:38 (UTC) by davidmcinnis)

Build fails due to bad symbol: AVFMT_RAWPICTURE:

https://pastebin.com/raw/ijUpaG9Z

I had to include the patch file AVFMT_RAWPICTURE.patch:

https://pastebin.com/raw/Bkb32qKW

Here my patch to PKGBUILD:

https://pastebin.com/raw/ZwXKNEvW

Also had to install https://aur.archlinux.org/packages/ffmpeg-compat-57/

-Dave

Captain_Rage commented on 2018-05-13 08:10 (UTC)

Getting

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 (UTC)

I get exactly the errors in https://stackoverflow.com/questions/46884682/error-in-building-opencv-with-ffmpeg

Please fix them.

orion78fr commented on 2018-02-09 17:43 (UTC)

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 (UTC)

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