$g++ `pkg-config --cflags --libs opencv` anycode.cpp -o anycode
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
Solution
1) find opencv.pc
$ locate opencv.pc
/mnt/vol3/installers/opencv/opencv-2.4.8/build/unix-install/opencv.pc
...
/usr/local/lib/pkgconfig/opencv.pc
2) then add to enviroment variable the path
$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/
Subscribe to:
Post Comments (Atom)
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
mas plugins http://devsnippets.com/reviews/using-jquery-to-style-design-elements-20-impressive-plugins.html http://www.extjs.com/deploy/dev/...
-
https://scfbm.biomedcentral.com/track/pdf/10.1186/1751-0473-3-6?site=scfbm.biomedcentral.com springer computer vision http://www.springer...
Python3 version alternatives and virtual environments
Solving multiple python installation: sudo update-alternatives --install /usr/ bin /python3 python3 /usr/ bin /python3 .5 1 sudo update...
No comments:
Post a Comment