Skip to content

Draft: core: conflict between set_config_helper and get_default_config functions

Paul Beasly requested to merge dev/video_input_verB into integration-v2

This MR is the rebased video_input MR. Latest MR with OpenCV is causing a conflict with the set_config_helper function that was updated to deal with for loops in the get_configuration functions. ChatGPT parses message error as:

ChatGPT's error analysis: This error seems to be related to a mismatch between the arguments provided to the set_config_helper function and what it expects. The relevant part of the error message indicates that there is no matching function for the call to set_config_helper.

error: no matching function for call to ‘set_config_helperkwiver::arrows::ocv::resection_camera_options_sptr(kwiver::vital::config_block_sptr&, const char [15], kwiver::arrows::ocv::resection_camera_options_sptr, const char [15])’

This error usually occurs when you are trying to call a function with arguments that do not match any of its available overloads.

The problem seems to originate from the function get_default_config in the resection_camera class, where it's trying to use PLUGGABLE_IMPL to implement the default configuration. It's likely that the set_config_helper function is expecting different arguments than those provided in this context.

To resolve this error, you may need to review the implementation of the set_config_helper function and ensure that you are providing the correct arguments when calling it in the get_default_config function. It's possible that there's a mismatch between the types or number of arguments being passed.

Merge request reports