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: 30
Popularity: 0.142659
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 »

bartus commented on 2021-07-15 08:17 (UTC) (edited on 2021-07-15 08:20 (UTC) by bartus)

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

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

bartus commented on 2021-07-06 10:07 (UTC)

Fixed.

stonecraft commented on 2021-07-06 05:28 (UTC)

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

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 (UTC) (edited on 2021-04-26 07:54 (UTC) by boennhoff)

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

nitrotm commented on 2020-10-20 11:06 (UTC)

The following extra patch is necessary to allow building the highgui module:

--- a/modules/highgui/src/grfmt_jpeg2000.cpp    2018-02-21 19:27:31.000000000 +0100
+++ b/modules/highgui/src/grfmt_jpeg2000.cpp    2020-10-20 12:57:32.135684822 +0200
@@ -338,7 +338,7 @@

     for( y = 0; y < yend - ystart; )
     {
-        jas_seqent_t* pix_row = &jas_matrix_get( buffer, y / ystep, 0 );
+        jas_seqent_t* pix_row = jas_matrix_getref( buffer, y / ystep, 0 );
         uchar* dst = data + (y - yoffset) * step - xoffset;

         if( xstep == 1 )
@@ -402,7 +402,7 @@

     for( y = 0; y < yend - ystart; )
     {
-        jas_seqent_t* pix_row = &jas_matrix_get( buffer, y / ystep, 0 );
+        jas_seqent_t* pix_row = jas_matrix_getref( buffer, y / ystep, 0 );
         ushort* dst = data + (y - yoffset) * step - xoffset;

         if( xstep == 1 )

lobomfz commented on 2020-08-08 07:08 (UTC)

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 https://pastebin.com/8cntxG93