Package Details: opencv2 2.4.13.6-3

Git Clone URL: https://aur.archlinux.org/opencv2.git (read-only, click to copy)
Package Base: opencv2
Description: Open Source Computer Vision Library (Legacy Version)
Upstream URL: http://opencv.org/
Licenses: BSD
Conflicts: opencv
Provides: opencv=2.4.13.6
Submitter: reisub
Maintainer: bartus
Last Packager: bartus
Votes: 19
Popularity: 0.001333
First Submitted: 2016-04-25 13:35
Last Updated: 2021-07-16 13:35

Required by (309)

Sources (1)

Latest Comments

1 2 3 Next › Last »

bartus commented on 2021-07-17 07:58

@nedludd: I've fixed PKGBUILD, should work with jasper installed now.

nedludd commented on 2021-07-16 22:54

I uninstalled jasper and opencv2 built properly. Thanks for the tip!

bartus commented on 2021-07-16 10:10

@nedludd: I've jasper:2.0 installed, it's incompatible with opencv2 but gets dragged into by cmake and introduce the issue. ~I can't see immediate solution, you can build opencv2 in clean chroot with extra-x86_64-build provided with devtools package, or uninstall jasper for a moment to build opencv2.~

[Edit] Fixed: malformed cmake flags 5feaf8edb556, force build jasper locally 00d6b2f8ccb2

nedludd commented on 2021-07-15 14:46

Here you go:

http://ix.io/3t4X

bartus commented on 2021-07-15 08:17

@nedludd: Can't reproduce, file is located in modules/highgui/src/grfmt_jpeg2000.cpp looks fine and builds without only some rudimental warnings from tbb header (could you please post your build.log, preferably with tool like https://aur.archlinux.org/packages/ix or site like https://paste.c-net.org/ )

[ 26%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/grfmt_jpeg2000.cpp.o
cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /build/opencv2/src/opencv-2.4.13.6/modules/core/include/opencv2/core/internal.hpp:197,
                 from /build/opencv2/src/opencv-2.4.13.6/modules/video/src/precomp.hpp:51,
                 from /build/opencv2/src/opencv-2.4.13.6/modules/video/src/motempl.cpp:42:
/usr/include/tbb/tbb.h:21:154: note: ‘#pragma message: TBB Warning: tbb.h contains deprecated functionality. For details, please see Deprecated Features appendix in the TB⮎ B reference manual.’
   21 | #pragma message("TBB Warning: tbb.h contains deprecated functionality. For details, please see Deprecated Features appendix in the TBB reference manual.")

nedludd commented on 2021-07-14 14:47

The compilation failure on grfmt_jpeg2000.cpp is still there. Can you fix @bartus?

bartus commented on 2021-07-06 10:07

Fixed.

stonecraft commented on 2021-07-06 05:28

I managed to build, but not install:

error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: opencv2 and opencv2-samples are in conflict

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.