Opened 14 months ago
Last modified 14 months ago
#68189 closed defect
opencv4 @4.6.0_12 +contrib +eigen +java +nonfree +opencl +openmp +qt5 +tbb +vtk fails to build on MacOS 10.15 — at Initial Version
Reported by: | Gandoon (Erik Hedlund) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | opencv4 |
Description
Yet again there is an issue with opencv4. This time it does not seem to be related to tbb/onetbb.
The build fails on MacOS 10.15 early during the build, soon after it spits out this error:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv4/opencv4/work/opencv4-4.6.0/opencv_contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/bundle.cc:552:17: warning: 'SetParameterization' is deprecated: LocalParameterizations are deprecated. Use SetManifold instead. [-Wdeprecated-declarations] problem.SetParameterization(current_camera_R_t, ^ /opt/local/include/ceres/problem.h:393:3: note: 'SetParameterization' has been explicitly marked deprecated here CERES_DEPRECATED_WITH_MSG( ^ /opt/local/include/ceres/internal/port.h:40:59: note: expanded from macro 'CERES_DEPRECATED_WITH_MSG' #define CERES_DEPRECATED_WITH_MSG(message) __attribute__((deprecated(message))) ^ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv4/opencv4/work/opencv4-4.6.0/opencv_contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/bundle.cc:553:37: error: cannot initialize a parameter of type 'LocalParameterization *' with an lvalue of type 'ceres::SubsetManifold *' constant_translation_manifold); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/local/include/ceres/problem.h:396:51: note: passing argument to parameter 'local_parameterization' here LocalParameterization* local_parameterization); ^ 1 warning and 1 error generated.
I am uncertain if this is an error relating to MacPorts or if it is an upstream issue. I have tried to force a rebuild of ceres-solver @2.1.0_0
just in case it would help, but no success.
Change History (1)
Changed 14 months ago by Gandoon (Erik Hedlund)
Attachment: | opencv4-main-20230918b4.log added |
---|
Note: See
TracTickets for help on using
tickets.
Most recent failing upgrade build