I try to compile a cpp file by gtkconfig on Debian system.
It can not work now.
Code:
g++ -o test1394 test1394.cpp 'pkg-config --cflags --labs opencv'
it gives me:
Code:
g++: pkg-config --cflags --labs opencv: No such file or directory
But if I do:
Code:
pkg-config --cflags opencv
or
Code:
pkg-config --libs opencv
it will give me correct result, like:
Code:
-I/usr/local/include/opencv
Code:
-L/usr/local/lib -lcxcore -lcv -lhighgui -lcvaux -lml
what's the problem?