Package Details: mingw-w64-opencv 4.10.0-2

Git Clone URL: https://aur.archlinux.org/mingw-w64-opencv.git (read-only, click to copy)
Package Base: mingw-w64-opencv
Description: Open Source Computer Vision Library (mingw-w64)
Upstream URL: http://opencv.org/
Licenses: Apache-2.0
Submitter: xantares
Maintainer: CloverGit
Last Packager: CloverGit
Votes: 2
Popularity: 0.000000
First Submitted: 2015-09-14 18:31 (UTC)
Last Updated: 2025-05-12 12:32 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

billypilgrim commented on 2018-05-03 08:32 (UTC) (edited on 2018-05-03 08:32 (UTC) by billypilgrim)

Also, out of interest, has anyone else been able to compile statically using this package? I just get a long list of: cannot find -lopencv_stitching341... etc.

It works if I do it dynamically (i.e. not with the -static flag). Even if I point the compiler to the *.a files directly it still seems to compile dynamically, which is especially weird.

It also seems like there's a small mistake in the packages pkg-config file. If I run: x86_64-w64-mingw32-pkg-config --libs opencv

I get: -L/usr/x86_64-w64-mingw32//usr/x86_64-w64-mingw32/lib -lopencv_stitching341 ...

Although if I fix this path manually things still don't work :-(

billypilgrim commented on 2018-05-03 08:22 (UTC)

Actually you need both packages in makedepends. If you're using an AUR helper you can easily have a situation where you have lapack but not cblas (as I did), because the lapack package is a split package. Users won't necessarily install the whole group by default.

drakkan commented on 2018-05-03 06:59 (UTC)

@xantares, it is statically linked, it is needed only to compile not at runtime

xantares commented on 2018-05-03 06:56 (UTC)

then it should be in depends, not just makedepends

drakkan commented on 2018-05-01 11:59 (UTC) (edited on 2018-05-01 12:15 (UTC) by drakkan)

@billypilgrim, this error was fixed in this commit

3859586138f7

lapack (that contains cblas) is already a makedep since then.

billypilgrim commented on 2018-05-01 11:17 (UTC) (edited on 2018-05-01 11:31 (UTC) by billypilgrim)

I'm getting the following build error: make[2]: *** No rule to make target '/usr/i686-w64-mingw32/lib/libcblas.dll.a', needed by 'bin/libopencv_core341.dll'. Stop.

Anyone got any ideas?

edit: Heh, missing dependency. @maintainer would you mind adding mingw-w64-cblas as a makedep? Ta!

cdkitching commented on 2016-05-12 22:40 (UTC)

The failure I just mentioned goes away if you downgrade mingw-w64-gcc to 5.3.0-1. Please update your build time dependencies accordingly.