Mailing List Archive

[SOLVED] Re: opencv problem
Le jeu. 25 nov. 2021 à 12:06, Arve Barsnes <arve.barsnes@gmail.com> a
écrit :

> On Thu, 25 Nov 2021 at 11:10, Jacques Montier <jmontier@gmail.com> wrote:
> > media-libs/opencv-4.5.2-r3::gentoo (Change USE: +contribdnn, this change
> violates use flag constraints defined by media-libs/opencv-4.5.2-r3:
> 'cpu_flags_x86_avx2? ( cpu_flags_x86_f16c ) cpu_flags_x86_f16c? (
> cpu_flags_x86_avx ) cuda? ( contrib tesseract? ( opencl ) ) dnnsamples? (
> examples ) gflags? ( contrib ) glog? ( contrib ) contribcvv? ( contrib qt5
> ) contribdnn? ( contrib ) contribfreetype? ( contrib ) contribhdf? (
> contrib ) contribovis? ( contrib ) contribsfm? ( contrib eigen gflags glog
> ) contribxfeatures2d? ( contrib download ) examples? ( contribdnn ) java? (
> python ) opengl? ( qt5 ) python? ( any-of ( python_targets_python3_8
> python_targets_python3_9 ) ) tesseract? ( contrib ) at-most-one-of ( gtk3
> qt5 )')
> >
> > Changing the contribdnn use flag does not solve the problem.
>
> This says that activating the contribdnn flag also needs the contrib
> flag to be activated. Hard to give any direct advice without knowing
> what you are trying to do. On my computers I don't install opencv, so
> the easiest solution if you don't need it is to remove the opencv flag
> from any packages you have installed.
>
> Regards,
> Arve
>
>
Thank you Arve, with the two use flags contribdnn and contrib, it works
fine.
I admit that i've been confused with "this change violates use flag
constraints" and all the stuff "cpu_flags_x86_avx2? ( cpu_flags_x86_f16c )
cpu_flags_x86_f16c? ( cpu_flags_x86_avx )..."
Now, i understand the meaning of use_flag1 (use_flag2).

I have to emerge opencv as kdenlive is installed and needs mlt which needs
opencv... so...

Thanks again,

Regards,

--
Jacques