package opencv was not found in the pkg-config search path for centos -


when go command:

 pkg-config --cflags opencv 

i following message:

package opencv not found in pkg-config search path. perhaps should add directory containing `opencv.pc' pkg_config_path environment variable no package 'opencv' found 

i'm on cent os 6, have found solution linux ubuntu on internet , here on stack not cent os

i tried under opencv specifications with

pkg_config_path=/usr/share/opencv/lib/pkgconfig:${pkg_config_path} export pkg_config_path 

still doesn't work. how can sure opencv installed in directory, used whereis opencv , triggered me /usr/share/

hi first of use 'synaptic package manager'. need goto ubuntu software center , search synaptic package manager.. beauty of packages need available here. second automatically configures paths. install search opencv packages on there if found package green box installed else package not in right place need reinstall package manager time. if installed can only, need fill opencv_dir variable path of opencv (containing opencvconfig.cmake file)

export opencv_dir=<path_of_opencv> 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -