Package Details: lib32-opencv 3.4.3-1

Git Clone URL: https://aur.archlinux.org/lib32-opencv.git (read-only)
Package Base: lib32-opencv
Description: Open Source Computer Vision Library (32-bit)
Upstream URL: https://opencv.org
Licenses: BSD
Submitter: orumin
Maintainer: rodrigo21
Last Packager: rodrigo21
Votes: 5
Popularity: 0.945195
First Submitted: 2017-07-09 03:24
Last Updated: 2018-08-30 00:42

Latest Comments

1 2 Next › Last »

churro commented on 2018-09-06 22:54

Failing for me too. However I fail to see the actual error:

[ 72%] Linking CXX shared library ../../lib/libopencv_dnn.so
[ 72%] Built target opencv_dnn
make: *** [Makefile:163: all] Error 2
==> ERROR: Se produjo un fallo en build().
    Cancelando...

well, today it worked somehow, I doubt it had anything to do with it but the only new package I installed was xmlto

frankyboy commented on 2018-09-02 10:12

building is failing with this error

[ 10%] Built target gen_opencv_java_source  
make: *** [Makefile:163: all] Error 2  
==> ERROR: A failure occurred in build().  
    Aborting...

TemplarGR commented on 2018-08-19 07:46

It fails to build for me with:

[ 19%] Linking CXX shared library ../../lib/libopencv_hdf.so /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../libsz.so when searching for -lsz

i think it needs a lib32-libaec package to get the 32bit version of libsz.so . Such a package does not exist in AUR.

dbermond commented on 2018-07-07 12:56

@orumin opencv package in the [extra] official repository has switched gtk2 to gtk3 and also ffmpeg/xine to gstreamer. Could you please implement these changes here too?

https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/opencv&id=e11303e33a0d59bd22a5a07652c46185e773078e

Tomato commented on 2018-05-05 18:20

compilation fails:

[ 23%] Linking CXX shared library ../../lib/libopencv_hdf.so
/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/../../../libsz.so when searching for -lsz
/bin/ld: skipping incompatible /usr/lib/libsz.so when searching for -lsz
/bin/ld: cannot find -lsz
collect2: error: ld returned 1 exit status

32bit dependency missing:

$ yaourt -Qo /usr/lib/libsz.so
/usr/lib/libsz.so is owned by libaec 1.0.2-1

$ yaourt -S lib32-libaec
error: target not found: lib32-libaec

$ yaourt -Ss libaec
community/libaec 1.0.2-1 [installed]
    Adaptive Entropy Coding library

yannleretaille commented on 2018-02-11 20:29

I can confirm that it compiles with DarkShadow44 fix and all files still end up in /usr/lib32!

DarkShadow44 commented on 2018-01-13 22:29

It works when removing mv "$pkgdir"/usr/lib "$pkgdir"/usr/lib32 That seems to be unnecessary, it's already called lib32. Can you confirm that?

DarkShadow44 commented on 2018-01-06 12:56

Fails with

mv: cannot stat '/dev/shm/ramdisk/pkg/lib32-opencv/usr/lib': No such file or directory

KozRoss commented on 2017-11-24 23:16

This breaks with the following:

==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:72 (cmake_policy):
The OLD behavior for policy CMP0020 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:76 (cmake_policy):
The OLD behavior for policy CMP0022 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:81 (cmake_policy):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.


-- The CXX compiler identification is GNU 7.2.0
-- The C compiler identification is GNU 7.2.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Detected version of GNU GCC: 72 (702)
-- sizeof(void) = 4 on x86 / x86_64 processor. Assume 32-bit compilation mode (X86=1)
-- Looking for ccache - found (/usr/bin/ccache)
CMake Error at cmake/OpenCVCompilerOptions.cmake:21 (else):
A duplicate ELSE command was found inside an IF block.
Call Stack (most recent call first):
CMakeLists.txt:495 (include)


-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-koz/aur-lib32-opencv/src/opencv-3.2.0/CMakeFiles/CMakeOutput.log".

yannleretaille commented on 2017-11-17 12:13

needs a version bump to 3.3.1
also PKGBUILD has to be changed so that it compiles it in a separate build folder: https://gist.github.com/yannleretaille/e335de55ee7dc481e9980478fce714ee