You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to compile this crate with default features disabled (on my original project I have features2d enabled, but it's irrelevant for the repro) and I'm facing the following error:
error[E0277]: the trait bound `manual::core::ptr::Ptr<f32>: manual::core::ptr::ptr_extern::PtrExtern` is not satisfied
--> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.84.4/src/manual/core/ptr/ptr_f32.rs:6:18
|
6 | impl DefaultforPtr<f32> {
| ^^^^^^^^ the trait `manual::core::ptr::ptr_extern::PtrExtern` is not implemented for `manual::core::ptr::Ptr<f32>`
|
= help: the following other types implement trait `manual::core::ptr::ptr_extern::PtrExtern`:
manual::core::ptr::Ptr<Algorithm>
manual::core::ptr::Ptr<ConjGradSolver>
manual::core::ptr::Ptr<DownhillSolver>
manual::core::ptr::Ptr<FileStorage>
manual::core::ptr::Ptr<GpuMat_Allocator>
manual::core::ptr::Ptr<MinProblemSolver>
manual::core::ptr::Ptr<MinProblemSolver_Function>
manual::core::ptr::Ptr<hub::core::Formatted>
manual::core::ptr::Ptr<hub::core::Formatter>
note: required by a bound in `manual::core::ptr::Ptr`
--> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/opencv-0.84.4/src/manual/core/ptr.rs:19:8
(the same is recurring for Deref, DerefMut and Debug)
If I enable the stitching feature, the error goes away.
I tested with different versions and the last version that works without the stitching feature flag is 0.83.0, it seems that 0.84.0 introduced this error.
I doubt that it's relevant, but here are my details:
I'm trying to compile this crate with default features disabled (on my original project I have
features2d
enabled, but it's irrelevant for the repro) and I'm facing the following error:(the same is recurring for
Deref
,DerefMut
andDebug
)If I enable the
stitching
feature, the error goes away.I tested with different versions and the last version that works without the
stitching
feature flag is0.83.0
, it seems that0.84.0
introduced this error.I doubt that it's relevant, but here are my details:
The text was updated successfully, but these errors were encountered: