-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vector element not implemented for Point2d
#422
Comments
Also not sure if it's related but I get an error building in a dockerfile where it generates this code for core: /// ## C++ default parameters
/// * params: FunctionParams()
#[inline]
pub fn copy_mat_and_dump_named_arguments(src: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray, params: &core::FunctionParams) -> Result<String> {
extern_container_arg!(src);
extern_container_arg!(dst);
return_send!(via ocvrs_return);
unsafe { sys::cv_utils_copyMatAndDumpNamedArguments_const__InputArrayR_const__OutputArrayR_const_FunctionParamsR(src.as_raw__InputArray(), dst.as_raw__OutputArray(), params.as_raw_FunctionParams(), ocvrs_return.as_mut_ptr()) };
return_receive!(unsafe ocvrs_return => ret);
let ret = ret.into_result()?;
let ret = unsafe { String::opencv_from_extern(ret) };
Ok(ret)
} Which results in this error:
Docker file grabs and builds opencv like this which I'm working on fixing as I really do not like the "4.x" archive download:
EDIT moving the wget to download 4.7 fixed that issue and now it's just the vector issue. I'm also rolling back to earlier version of rust crate to try and see if there's a point it works |
Yeah, the Regarding the vector issue I suspect it's because you not building some modules any more. Those |
|
Can you please check the |
Can confirm the rel branch fixes the issue 👍 |
I've released v0.77.0 with that fix |
Awesome thanks ❤️ |
So I've been trying to upgrade an internal project to newest opencv-rust to make use of the feature gating to decrease build size. And a few bits of previously working code have now ceased to work. Namely anything which was using
Vector::<Point2d>
. As far as I can tell there's no issue with this code and it shouldn't have became an error - instead the required trait bounds should have been automatically generated. However, I may be wrong - if so I'd be interested in how to get around this issue without compromising on accuracy.Below is a sample of error messages:
The text was updated successfully, but these errors were encountered: