I have ubuntu 10 installed. I installed all the opencv packages I could find in the software center. I expect that it installs some .lib files somewhere that I can reference i
As stated by Eric
pkg-config --libs opencv
will return libs to be included and if it is about the include file paths
it is /usr/include/opencv
and if you want it to be automatically added just add following to command along with the command by Eric --cflags
to above command.
Eg. let the file to be compiled be test.c then whole command will be
g++ test.c `pkg-config --libs --cflags opencv`
hope it helps.