Changes between Initial Version and Version 5 of Ticket #68189


Ignore:
Timestamp:
Sep 18, 2023, 4:45:57 PM (14 months ago)
Author:
mascguy (Christopher Nielsen)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #68189

    • Property Status changed from new to assigned
    • 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 to 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*'
  • 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.
     1The build fails on MacOS 10.15 early during the build, soon after it spits out this error:
    22
    3 The build fails on MacOS 10.15 early during the build, soon after it spits out this error:
    43{{{
    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:
     5warning: 'SetParameterization' is deprecated: LocalParameterizations are deprecated. Use SetManifold instead. [-Wdeprecated-declarations]
    66        problem.SetParameterization(current_camera_R_t,
    77                ^
    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:
     10error: cannot initialize a parameter of type 'LocalParameterization *' with an lvalue of type 'ceres::SubsetManifold *'
    1511                                    constant_translation_manifold);
    1612                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     13
    1714/opt/local/include/ceres/problem.h:396:51: note: passing argument to parameter 'local_parameterization' here
    1815                           LocalParameterization* local_parameterization);
    1916                                                  ^
     17
    20181 warning and 1 error generated.
    2119}}}