$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/...
-
Episodios: Épisode 1 : La Libertina de calidad (Le Libertin de qualité) Épisode 2 : La Apuesta de las tres cotillas (La Gageure des tr...
Vectorize PNG to SVG
No Login [1] https://www.freeconvert.com/png-to-svg [2] https://svg-converter.com/potrace Loging required [2] https://www.recraft.ai [3]...
No comments:
Post a Comment