Search Criteria
Package Details: opencv2 2.4.13.7-7
Package Actions
| 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-3-Clause |
| Submitter: | reisub |
| Maintainer: | dbermond |
| Last Packager: | dbermond |
| Votes: | 33 |
| Popularity: | 0.062173 |
| First Submitted: | 2016-04-25 13:35 (UTC) |
| Last Updated: | 2025-04-04 11:04 (UTC) |
Dependencies (18)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-eacAUR, glibc-git-native-pgoAUR)
- gst-plugins-base (gst-plugins-base-gitAUR)
- gst-plugins-base-libs (gst-plugins-base-libs-gitAUR)
- gstreamer (gstreamer-gitAUR)
- gtk2AUR (gtk2-patched-filechooser-icon-viewAUR, gtk2-ng-gitAUR, gtk2-ng-gitAUR)
- gtkglextAUR
- libdc1394
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utils-macbookAUR, libglvnd)
- libjpeg (mozjpeg-gitAUR, mozjpegAUR, libjpeg-turbo-gitAUR, libjpeg-turbo)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libtiff (libtiff-gitAUR, libtiff-lercAUR)
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- eigen (eigen-gitAUR, eigen3) (make)
- mesa (mesa-wsl2-gitAUR, mesa-amd-bc250AUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-dlss-reflex-gitAUR, mesa-rk35xx-gitAUR, mesa-nollvm-gitAUR, mesa-rdna2vrAUR, mesa-minimal-gitAUR, mesa-amber) (make)
- opencl-icd-loaderAUR (khronos-ocl-icd-gitAUR, ocl-icd) (optional) – for coding with OpenCL
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »
bartus commented on 2022-03-14 10:35 (UTC)
Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post
ArchBoxHero commented on 2022-02-07 22:45 (UTC) (edited on 2022-02-21 03:09 (UTC) by ArchBoxHero)
I can confirm what Thenujan is getting with the
I see this from 2019. It doesn't help me but maybe someone: bug from 2019 inline link.
I've tried adding those flags and following some of those hints linked in the # github issues there and the # stackovereflow link there too but couldn't didn't help.
Thenujan commented on 2022-01-04 11:09 (UTC)
Build fails with
<deleted-account> commented on 2021-12-16 16:54 (UTC)
The opencv git repository is huge. Would you consider doing the cloning manually, with "git clone --depth 1 ...'? It seems like makepkg doesn't want to implement passing git flags for some reason (see https://bugs.archlinux.org/task/34677).
FalconProgrammer commented on 2021-12-10 11:47 (UTC)
As per what has been mentioned in the opencv2 package, I needed to add these flags to _cmakeopts in order to get this compiled.
@tom - the BUILD_JASPER line should fix your error.
tom commented on 2021-11-12 00:22 (UTC)
build failed:
...
[ 5%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_tagtree.c.o cc1: warning: command-line option ‘-Wsign-promo’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-Wno-delete-non-virtual-dtor’ is valid for C++/ObjC++ but not for C [ 5%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_tsfb.c.o cc1: warning: command-line option ‘-Wsign-promo’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-Wno-delete-non-virtual-dtor’ is valid for C++/ObjC++ but not for C [ 5%] Building C object 3rdparty/libjasper/CMakeFiles/libjasper.dir/jpc_util.c.o cc1: warning: command-line option ‘-Wsign-promo’ is valid for C++/ObjC++ but not for C cc1: warning: command-line option ‘-Wno-delete-non-virtual-dtor’ is valid for C++/ObjC++ but not for C /build/opencv2-opt/src/opencv-2.4.13.6/3rdparty/libjasper/jpc_util.c: In function ‘jpc_atoaf’: /build/opencv2-opt/src/opencv-2.4.13.6/3rdparty/libjasper/jpc_util.c:105:20: warning: comparison between pointer and zero character constant [-Wpointer-compare] 105 | if (cp != '\0') { | ^~ /build/opencv2-opt/src/opencv-2.4.13.6/3rdparty/libjasper/jpc_util.c:105:17: note: did you mean to dereference the pointer? 105 | if (cp != '\0') { | ^ /build/opencv2-opt/src/opencv-2.4.13.6/3rdparty/libjasper/jpc_util.c:123:24: warning: comparison between pointer and zero character constant [-Wpointer-compare] 123 | if (cp != '\0') { | ^~ /build/opencv2-opt/src/opencv-2.4.13.6/3rdparty/libjasper/jpc_util.c:123:21: note: did you mean to dereference the pointer? 123 | if (cp != '\0') { | ^ [ 6%] Linking C static library ../lib/liblibjasper.a [ 6%] Built target libjasper make: *** [Makefile:166: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /var/tmp/mkgkris/build
Galaxy commented on 2021-08-17 09:29 (UTC)
In build section, it is better to set
export LDFLAGS="-Wl,-rpath,/opt/${_pkgbase}/lib".bartus commented on 2021-07-17 07:58 (UTC)
@nedludd: I've fixed PKGBUILD, should work with
jasperinstalled now.« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »