1 |
Le jeu. 25 nov. 2021 à 12:06, Arve Barsnes <arve.barsnes@×××××.com> a |
2 |
écrit : |
3 |
|
4 |
> On Thu, 25 Nov 2021 at 11:10, Jacques Montier <jmontier@×××××.com> wrote: |
5 |
> > media-libs/opencv-4.5.2-r3::gentoo (Change USE: +contribdnn, this change |
6 |
> violates use flag constraints defined by media-libs/opencv-4.5.2-r3: |
7 |
> 'cpu_flags_x86_avx2? ( cpu_flags_x86_f16c ) cpu_flags_x86_f16c? ( |
8 |
> cpu_flags_x86_avx ) cuda? ( contrib tesseract? ( opencl ) ) dnnsamples? ( |
9 |
> examples ) gflags? ( contrib ) glog? ( contrib ) contribcvv? ( contrib qt5 |
10 |
> ) contribdnn? ( contrib ) contribfreetype? ( contrib ) contribhdf? ( |
11 |
> contrib ) contribovis? ( contrib ) contribsfm? ( contrib eigen gflags glog |
12 |
> ) contribxfeatures2d? ( contrib download ) examples? ( contribdnn ) java? ( |
13 |
> python ) opengl? ( qt5 ) python? ( any-of ( python_targets_python3_8 |
14 |
> python_targets_python3_9 ) ) tesseract? ( contrib ) at-most-one-of ( gtk3 |
15 |
> qt5 )') |
16 |
> > |
17 |
> > Changing the contribdnn use flag does not solve the problem. |
18 |
> |
19 |
> This says that activating the contribdnn flag also needs the contrib |
20 |
> flag to be activated. Hard to give any direct advice without knowing |
21 |
> what you are trying to do. On my computers I don't install opencv, so |
22 |
> the easiest solution if you don't need it is to remove the opencv flag |
23 |
> from any packages you have installed. |
24 |
> |
25 |
> Regards, |
26 |
> Arve |
27 |
> |
28 |
> |
29 |
Thank you Arve, with the two use flags contribdnn and contrib, it works |
30 |
fine. |
31 |
I admit that i've been confused with "this change violates use flag |
32 |
constraints" and all the stuff "cpu_flags_x86_avx2? ( cpu_flags_x86_f16c ) |
33 |
cpu_flags_x86_f16c? ( cpu_flags_x86_avx )..." |
34 |
Now, i understand the meaning of use_flag1 (use_flag2). |
35 |
|
36 |
I have to emerge opencv as kdenlive is installed and needs mlt which needs |
37 |
opencv... so... |
38 |
|
39 |
Thanks again, |
40 |
|
41 |
Regards, |
42 |
|
43 |
-- |
44 |
Jacques |