Search Criteria
Package Details: opencv2 2.4.13.7-5
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 |
Submitter: | reisub |
Maintainer: | dbermond |
Last Packager: | dbermond |
Votes: | 30 |
Popularity: | 0.063150 |
First Submitted: | 2016-04-25 13:35 (UTC) |
Last Updated: | 2023-12-18 21:47 (UTC) |
Dependencies (16)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- gst-plugins-base (gst-plugins-base-gitAUR)
- gst-plugins-base-libs (gst-plugins-base-libs-gitAUR)
- gstreamer (gstreamer-gitAUR)
- gtk2 (gtk2-patched-filechooser-icon-viewAUR)
- gtkglextAUR
- libdc1394
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utilsAUR, libglvnd)
- libjpeg (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR, libjpeg-turbo)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libtiff (libtiff-gitAUR, libtiff-lercAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- cmake (cmake-gitAUR) (make)
- eigen (eigen-gitAUR) (make)
- mesa (mesa-minimal-gitAUR, mesa-wsl2-gitAUR, mesa-amd-bc250AUR, amdonly-gaming-mesa-gitAUR, mesa-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 »
Thenujan commented on 2022-01-04 11:09 (UTC)
Build fails with
TheStroyer 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
jasper
installed now.nedludd commented on 2021-07-16 22:54 (UTC)
I uninstalled
jasper
andopencv2
built properly. Thanks for the tip!bartus commented on 2021-07-16 10:10 (UTC) (edited on 2021-07-16 10:33 (UTC) by bartus)
@nedludd: I've
jasper:2.0
installed, it's incompatible withopencv2
but gets dragged into bycmake
and introduce the issue. ~I can't see immediate solution, you can buildopencv2
in clean chroot withextra-x86_64-build
provided withdevtools
package, or uninstalljasper
for a moment to buildopencv2
.~[Edit] Fixed: malformed cmake flags 5feaf8edb556, force build jasper locally 00d6b2f8ccb2
nedludd commented on 2021-07-15 14:46 (UTC)
Here you go:
http://ix.io/3t4X
« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »