Bug 287320 - misc/visp: fix build with opencv 4.9
Summary: misc/visp: fix build with opencv 4.9
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-05 10:58 UTC by Edward.Sanford.Sutton, III
Modified: 2025-06-05 18:28 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
fix build with opencv 4.9 (1.73 KB, patch)
2025-06-05 10:58 UTC, Edward.Sanford.Sutton, III
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edward.Sanford.Sutton, III 2025-06-05 10:58:38 UTC
Created attachment 261000 [details]
fix build with opencv 4.9

Completed build with possibly unneeded LIB_DEPENDS warnings after applying https://github.com/lagadic/visp/pull/1310/commits/9ed0300507e13dddd83fd62a799f5039025ea44e

Original build failure:
/wrkdirs/usr/ports/misc/visp/work/visp-3.6.0/modules/tracker/mbt/src/depth/vpMbtFaceDepthDense.cpp:521:34: error: invalid operands to binary expression ('const cv::v_float64x2' and 'cv::v_float64x2')
  521 |         cv::v_float64x2 va1 = vnz*vy - vny*vz;
      |                               ~~~^~~
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2025-06-05 18:25:51 UTC
Committed, thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-06-05 18:28:47 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7837c037db78d26b435b5a35db9c7ebb4da6275a

commit 7837c037db78d26b435b5a35db9c7ebb4da6275a
Author:     Edward.Sanford.Sutton, III <mirror176@hotmail.com>
AuthorDate: 2025-06-05 15:11:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-06-05 18:27:33 +0000

    misc/visp: fix build with opencv 4.9

    PR:             287320
    <If and which Problem Report is related.>

 ...ker_mbt_src_depth_vpMbtFaceDepthDense.cpp (new) | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)