[MacPorts] #68189: opencv4 @4.6.0 +contrib+eigen+java+nonfree+opencl+openmp+qt5+tbb+vtk: build failure related to ceres-solver: cannot initialize a parameter of type 'LocalParameterization*' with an lvalue of type 'ceres::SubsetManifold*'

MacPorts noreply at macports.org
Mon Sep 18 17:06:53 UTC 2023


#68189: opencv4 @4.6.0 +contrib+eigen+java+nonfree+opencl+openmp+qt5+tbb+vtk: build
failure related to ceres-solver: cannot initialize a parameter of type
'LocalParameterization*' with an lvalue of type 'ceres::SubsetManifold*'
----------------------+----------------------
  Reporter:  Gandoon  |      Owner:  mascguy
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:           |   Keywords:
      Port:  opencv4  |
----------------------+----------------------

Comment (by mascguy):

 Replying to [comment:4 Gandoon]:
 > I have been using that combination of Xcode/CLT for many years now, it
 has never been an issue so far.

 No worries. And agreed, use of Xcode/CLT 12.4 isn't the cause.

 Rather, it's an upstream issue, caused by the recent upgrade of `ceres-
 solver` to v2.1.0:

 [https://github.com/opencv/opencv_contrib/issues/3270 Issue 3270 - Make
 command fails with a conversion error from ceres]

 With this patch:

 [https://github.com/opencv/opencv_contrib/pull/3243 PR 3243 - Use
 ceres::Manifolds instead of ceres::LocalParameterization]

 However, we're getting ready to update `opencv4` to 4.8.0 anyway, and that
 fix is included. So it'll be taken care of soon, once testing is complete
 across all macOS releases. (Possibly later today, if all goes well.)

-- 
Ticket URL: <https://trac.macports.org/ticket/68189#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list