$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)
-
en inglés se llama “A potentially dangerous Request.Form value was detected from the client”. varias páginas indican dos cosas: 1. agrega...
-
Resources: [1] Hela https://ome.grc.nia.nih.gov/iicbu2008/hela/index.html
-
Image to Tex [1] https://latexconvert.com/ [2] https://www.img2latex.xyz/convert [3] https://ai-math.io/image-to-latex [4] https://image2lat...
Peruvian social cases
Caso Cantuta 90's [1] https://www.infobae.com/america/peru/2022/07/23/masacre-de-la-cantuta-el-crimen-de-los-estudiantes-a-manos-de-as...

No comments:
Post a Comment