[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 18:08:31 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 Gandoon):

 Replying to [comment:6 mascguy]:

 . . .

 > 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.)

 That is good to know. I will then await the version 4.8.0 for now. If that
 works this issue will very soon become irrelevant.

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


More information about the macports-tickets mailing list