Home compiling c++ opencv 3.1 on raspberry pi 3
Reply: 0

compiling c++ opencv 3.1 on raspberry pi 3

user708 Published in July 18, 2018, 6:20 pm

I followed


and I see that the opencv shared libraries are inside /usr/local/lib, however when I try to compile my c++ code I get the following errors

"no such directory"


"Package opencv was not found in the pkg-config search path. Perhaps you should add the directory containing `opencv.pc' to the PKG_CONFIG_PATH environment variable No package 'opencv' found"

I think the problem is because I have the libraries installed locally. What file would I have to edit to make the compiler look at /usr/local/include instead of only /usr/include?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.395841 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO