Changes between Initial Version and Version 5 of Ticket #68189
- Timestamp:
- Sep 18, 2023, 4:45:57 PM (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #68189
-
Property
Status
changed from
new
toassigned
- Property Owner set to mascguy
-
Property
Summary
changed from
opencv4 @4.6.0_12 +contrib +eigen +java +nonfree +opencl +openmp +qt5 +tbb +vtk fails to build on MacOS 10.15
toopencv4 @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*'
-
Property
Status
changed from
-
Ticket #68189 – Description
initial v5 1 Yet again there is an issue with opencv4. This time it does not seem to be related to tbb/onetbb. 1 The build fails on MacOS 10.15 early during the build, soon after it spits out this error: 2 2 3 The build fails on MacOS 10.15 early during the build, soon after it spits out this error:4 3 {{{ 5 /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] 4 .../opencv4/work/opencv4-4.6.0/opencv_contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/bundle.cc:552:17: 5 warning: 'SetParameterization' is deprecated: LocalParameterizations are deprecated. Use SetManifold instead. [-Wdeprecated-declarations] 6 6 problem.SetParameterization(current_camera_R_t, 7 7 ^ 8 /opt/local/include/ceres/problem.h:393:3: note: 'SetParameterization' has been explicitly marked deprecated here 9 CERES_DEPRECATED_WITH_MSG( 10 ^ 11 /opt/local/include/ceres/internal/port.h:40:59: note: expanded from macro 'CERES_DEPRECATED_WITH_MSG' 12 #define CERES_DEPRECATED_WITH_MSG(message) __attribute__((deprecated(message))) 13 ^ 14 /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 *' 8 9 .../opencv4/work/opencv4-4.6.0/opencv_contrib/modules/sfm/src/libmv_light/libmv/simple_pipeline/bundle.cc:553:37: 10 error: cannot initialize a parameter of type 'LocalParameterization *' with an lvalue of type 'ceres::SubsetManifold *' 15 11 constant_translation_manifold); 16 12 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 17 14 /opt/local/include/ceres/problem.h:396:51: note: passing argument to parameter 'local_parameterization' here 18 15 LocalParameterization* local_parameterization); 19 16 ^ 17 20 18 1 warning and 1 error generated. 21 19 }}}