Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need to find the installation directory of OpenCv so that I can add it's path to PKG_CONFIG_PATH so I can run OpenCv programs the problem is I don't know where to look for it since I'm completely new to ubuntu.

I'm using ubuntu 10.04 Any help would be appreciated.Thanks!!!

share|improve this question
add comment

migrated from stackoverflow.com May 20 '12 at 23:00

This question came from our site for professional and enthusiast programmers.

1 Answer

You can add following lines to /etc/bash.bashrc using your favorite text editor so that you dont have to export path everytime.

PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH

and restart your system.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.