Search Criteria
Package Details: mingw-w64-opencv 4.8.0-1
Package Actions
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: | BSD |
Submitter: | xantares |
Maintainer: | drakkan |
Last Packager: | drakkan |
Votes: | 2 |
Popularity: | 0.000000 |
First Submitted: | 2015-09-14 18:31 (UTC) |
Last Updated: | 2023-07-06 10:49 (UTC) |
Dependencies (12)
- mingw-w64-cblas (mingw-w64-openblas-lapack)
- mingw-w64-crt
- mingw-w64-lapack (mingw-w64-openblas-lapack)
- mingw-w64-libjpeg-turbo (mingw-w64-libjpeg)
- mingw-w64-libpng
- mingw-w64-libtiff
- mingw-w64-libwebp
- mingw-w64-openjpeg2
- mingw-w64-zlib
- mingw-w64-cmake (make)
- mingw-w64-eigen (make)
- mingw-w64-lapacke (mingw-w64-openblas-lapack) (make)
Required by (3)
- mingw-w64-gst-plugins-bad (make)
- mingw-w64-gst-plugins-bad (optional)
- mingw-w64-openimageio
Latest Comments
1 2 3 Next › Last »
drakkan commented on 2021-11-01 11:34 (UTC)
Thanks,
I added you as co-maintainer, no obligations, if you have time you can help
patlefort commented on 2021-10-29 03:01 (UTC)
I am able to compile it by replacing
opencv-lapack-3.9.1.patch
with this patch:drakkan commented on 2021-09-01 15:02 (UTC)
Hi, there are some build issues with 4.5.3. I will update the PKGBUILD once I am able to fix them. Thanks for your patience
drakkan commented on 2019-10-16 11:37 (UTC)
@FoPref, OpenCV use cmake to find lapack during build, and it does not work, so lapack libs are manually setted
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mingw-w64-opencv#n61
this is needed for linux native build too
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/opencv#n57
FoPref commented on 2019-09-11 13:51 (UTC)
Hello Drakkan, thank you for looking into these things. Unfortunately the patch does not work for me, as it leads to a binary that wants to link to opencv*411.dll files on runtime. I wonder why.
Modifying the lapack pkgconf file did not help as well. Does OpenCV during build use the PKGCONF to find lapack?
drakkan commented on 2019-07-28 09:21 (UTC)
@FoPref, I just retested pkgconfig shared and static build with 4.1.1 (some changes were needed to my build script) and cmake shared build. For cmake static build can you please test this patch?
this way the static libs will not have version suffix. The patch breaks pkg-build based static build, anyway I can try to find a common fix if it works for cmake, thanks
drakkan commented on 2019-07-17 10:15 (UTC)
@FoPref
in my test project static build using pkg-config works fine.
Do you modified the lapack pc file as suggested below?
https://aur.archlinux.org/packages/mingw-w64-lapack/#comment-644860
Can you please share a simple test project to use as reproducer? Maybe my test project for static building does not cover all cases :) thanks!
FoPref commented on 2019-07-17 09:38 (UTC)
I know the latest package version is just a version dump, however it looks like with 4.0.1 everything builds fine, whereas with 4.1.0 cblas is missing from the static libs.
drakkan commented on 2019-02-08 14:17 (UTC)
@FoPref, thanks for reporting.
I use pkg-config and so I fixed static build for pkg-config case as you can see inside the PKGBUILD (line 83). This really seems an upstream issue: both pc files and cmake files are broken in some way for shared and static build (please see fixes inside PKGBUILD).
I'll try to fix static cmake build as soon as I have some spare time
FoPref commented on 2019-02-08 14:10 (UTC) (edited on 2019-02-08 14:12 (UTC) by FoPref)
Another problem with the file seems to be that it does not provide the right library names for static builds. The lib names provided in ${OpenCV_LIBRARIES} are, e.g.,
opencv_core
, oropencv_imgproc
. The correct names would have the version number appended (opencv_imgproc401
etc).Note that at the same time, pkg-config does provide the correct names, e.g.
-lopencv_imgproc401
, and a static build is successful.1 2 3 Next › Last »