pkg-config can not find opencv libraries

165 Views Asked by At

I have opencv4 installed on my arch linux. I have a project that consist pkg-config command:

PKGCONFIG += opencv

But it gives this error:

opencv development package not found

The project developed a computer that uses opencv 3.2. So i installed opencv3-opt(exact version 3.4.19) package from AUR. Now I can call pkg-config with opencv3 and opencv4 arguments. But I need to call it with directly opencv argument. What should i do for that?

0

There are 0 best solutions below