Search Criteria
Package Base Details: opencv2-opt
Package Actions
- View PKGBUILD / View Changes
- Download snapshot
- Search wiki
- Flagged out-of-date (2023-08-03)
- 1 pending request
- Submit Request
Git Clone URL: | https://aur.archlinux.org/opencv2-opt.git (read-only, click to copy) |
---|---|
Submitter: | dracorp |
Maintainer: | jerry73204 |
Last Packager: | jerry73204 |
Votes: | 9 |
Popularity: | 0.000000 |
First Submitted: | 2016-10-22 23:27 (UTC) |
Last Updated: | 2018-11-04 07:39 (UTC) |
Latest Comments
1 2 3 Next › Last »
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"
.nitrotm commented on 2020-10-20 11:06 (UTC)
The following extra patch is necessary to allow building the highgui module:
hottea commented on 2018-11-04 03:18 (UTC)
@jerry73204 hey, could you help me with maintain this pkg?
jerry73204 commented on 2018-11-03 16:44 (UTC)
The PKGBUILD renames
share/OpenCV
toshare/opencv
. It causes the cmake config files unusable (See this issue).In this issue, cmake script assumes
/opt/opencv2/share/OpenCV/java/libopencv_java2413.so
, which parent directory is gone.Please include this patch in order to fix it.
postadelmaga commented on 2018-08-29 07:18 (UTC)
now It compiles.
dracorp commented on 2018-06-21 21:20 (UTC)
Hi, I've disowned package, because I don't have enough time to take care of it.
1 2 3 Next › Last »